Joshmaxy1115

mr meeseeks

Oct 28th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.23 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16. Player=game:GetService("Players").LocalPlayer
  17. plr = game.Players.LocalPlayer
  18. char = plr.Character
  19. Character = plr.Character
  20. hum = char.Humanoid
  21. t = char.Torso
  22. h = char.Head
  23. ra = char["Right Arm"]
  24. la = char["Left Arm"]
  25. rl = char["Right Leg"]
  26. ll = char["Left Leg"]
  27. rot = char.HumanoidRootPart
  28.  
  29. for i,v in pairs(char:children()) do
  30. if v:IsA("CharacterMesh") then
  31. v:Destroy()
  32. end
  33. end
  34.  
  35.  
  36. Debounces = {
  37. on = false;
  38. ks = false;
  39. CanAttack = true;
  40. CanJoke = true;
  41. NoIdl = false;
  42. Slashing = false;
  43. Slashed = false;
  44. Grabbing = false;
  45. Grabbed = false;
  46. }
  47. local Touche = {char.Name, }
  48. mouse=Player:GetMouse()
  49. ----------------------------------------------------
  50. mouse.KeyDown:connect(function(key)
  51. if key == "t" then
  52. if Debounces.CanJoke == true then
  53. Debounces.CanJoke = false
  54. z = Instance.new("Sound",char)
  55. z.SoundId = "rbxassetid://345590133"
  56. z.Pitch = 1
  57. z.Volume = 10
  58. wait()
  59. z:Play()
  60. wait(4)
  61. z:Destroy()
  62. if Debounces.CanJoke == false then
  63. Debounces.CanJoke = true
  64. end
  65. end
  66. end
  67. end)
  68. ----------------------------------------------------
  69.  
  70.  
  71. plr = game:service'Players'.LocalPlayer
  72. char = plr.Character
  73. mouse = plr:GetMouse()
  74. humanoid = char:findFirstChild("Humanoid")
  75. torso = char:findFirstChild("Torso")
  76. head = char.Head
  77. ra = char:findFirstChild("Right Arm")
  78. la = char:findFirstChild("Left Arm")
  79. rl = char:findFirstChild("Right Leg")
  80. ll = char:findFirstChild("Left Leg")
  81. rs = torso:findFirstChild("Right Shoulder")
  82. ls = torso:findFirstChild("Left Shoulder")
  83. rh = torso:findFirstChild("Right Hip")
  84. lh = torso:findFirstChild("Left Hip")
  85. neck = torso:findFirstChild("Neck")
  86. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  87. anim = char:findFirstChild("Animate")
  88. rootpart = char:findFirstChild("HumanoidRootPart")
  89.  
  90. local colors = {"Toothpaste", "Teal"}
  91.  
  92. humanoid.Died:connect(function()
  93. for cframe_parts = 0, 100 do
  94. local p = Instance.new("Part")
  95. p.FormFactor = "Custom"
  96. p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  97. p.Size = Vector3.new(1, 1, 1)
  98. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  99. p.Locked = true
  100. p.CanCollide = false
  101. p.Anchored = true
  102. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  103. p.Parent = workspace
  104. game:service'Debris':AddItem(p, 5)
  105. coroutine.wrap(function()
  106. while wait() do
  107. if p ~= nil then
  108. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  109. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  110. p.Transparency = p.Transparency + 0.015
  111. else
  112. break
  113. end
  114. end
  115. end)()
  116. end
  117. for _,v in pairs(char:children()) do
  118. if v:IsA("Part") then
  119. v:Destroy()
  120. end
  121. end
  122.  
  123. end)
  124.  
  125.  
  126.  
  127. plr = game.Players.LocalPlayer
  128. repeat
  129. wait(0.4)
  130. until plr.Character
  131. chr = plr.Character
  132. human = chr:FindFirstChild("Humanoid")
  133. mouse = plr:GetMouse()
  134. cam = workspace.CurrentCamera
  135. selected = false
  136. equipd = false
  137. tors = chr.Torso
  138. rarm = chr["Right Arm"]
  139. larm = chr["Left Arm"]
  140. rleg = chr["Right Leg"]
  141. lleg = chr["Left Leg"]
  142. hrp = chr.HumanoidRootPart
  143. hed = chr.Head
  144. anim = human.Animator
  145. activu = false
  146. ragged = false
  147. batting = false
  148. Heartbeat = Instance.new("BindableEvent")
  149. Heartbeat.Name = "Heartbeat"
  150. Heartbeat.Parent = script
  151. frame = 0.03333333333333333
  152. tf = 0
  153. chara = plr.Character
  154.  
  155. New = function(Object, Parent, Name, Data)
  156. local Object = Instance.new(Object)
  157. for Index, Value in pairs(Data or {}) do
  158. Object[Index] = Value
  159. end
  160. Object.Parent = Parent
  161. Object.Name = Name
  162. return Object
  163. end
  164. local AddInstance = function(Object, ...)
  165. local Obj = Instance.new(Object)
  166. for i,v in next,(...) do
  167. Obj[i] = v
  168. end
  169. return Obj
  170. end
  171.  
  172. local BC = char["Body Colors"]
  173. BC.HeadColor = BrickColor.new("Toothpaste")
  174. BC.LeftArmColor = BrickColor.new("Toothpaste")
  175. BC.LeftLegColor = BrickColor.new("Toothpaste")
  176. BC.RightArmColor = BrickColor.new("Toothpaste")
  177. BC.RightLegColor = BrickColor.new("Toothpaste")
  178. BC.TorsoColor = BrickColor.new("Toothpaste")
  179.  
  180. Music1 = New("Sound",chara,"Music",{SoundId = "rbxassetid://798092681",Volume = 2,Looped = true})
  181. Music1:Play()
  182. musicon = true
  183. for i,v in pairs(chara:GetChildren()) do
  184. if v.ClassName == 'Accessory' then
  185. v:Destroy()
  186. end
  187. end
  188.  
  189.  
  190.  
  191. Team=function()
  192. local r=math.random(1,2)
  193.  
  194. if r==1 then
  195. print('RED')
  196. for i,v in pairs(chara:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end
  197. for i,v in pairs(chara:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  198. wait()shirt = Instance.new("Shirt", chara)
  199. shirt.Name = "Shirt"
  200. pants = Instance.new("Pants", chara)
  201. pants.Name = "Pants"
  202. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1"
  203. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1"
  204. end
  205.  
  206. if r==2 then
  207. print('BLUE')
  208. for i,v in pairs(chara:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end
  209. for i,v in pairs(chara:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  210. wait()shirt = Instance.new("Shirt", chara)
  211. shirt.Name = "Shirt"
  212. pants = Instance.new("Pants", chara)
  213. pants.Name = "Pants"
  214. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1"
  215. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1"
  216. end
  217. end
  218.  
  219. Team()
  220.  
  221. chara.Head.face.Texture = "http://www.roblox.com/asset/?id=755299502"
  222. wait()
  223.  
  224. local Reaper = AddInstance("Part",{
  225. Parent = hed,
  226. CFrame = hed.CFrame,
  227. formFactor = "Symmetric",
  228. Size = Vector3.new(1, 1, 1),
  229. CanCollide = false,
  230. TopSurface = "Smooth",
  231. BottomSurface = "Smooth",
  232. Locked = true,
  233. })
  234. local Weld = AddInstance("Weld",{
  235. Parent = Reaper,
  236. Part0 = hed,
  237. C0 = CFrame.new(0,0.5,0)*CFrame.Angles(.15, 3.12, 0),
  238. Part1 = Reaper,
  239. })
  240. local Mesh = AddInstance("SpecialMesh",{
  241. Parent = Reaper,
  242. MeshId = "rbxassetid://11185882",
  243. TextureId = "rbxassetid://201026913",
  244. Scale = Vector3.new(0.5,0.9,0.3),
  245. VertexColor = Vector3.new(1,1,1),
  246. })
  247.  
  248.  
  249.  
  250. local Reaper2 = AddInstance("Part",{
  251. Parent = larm,
  252. CFrame = larm.CFrame,
  253. formFactor = "Symmetric",
  254. Size = Vector3.new(.1, .1, .1),
  255. CanCollide = false,
  256. TopSurface = "Smooth",
  257. BottomSurface = "Smooth",
  258. Locked = true,
  259. Transparency = 1
  260. })
  261. local Weld = AddInstance("Weld",{
  262. Parent = Reaper2,
  263. Part0 = larm,
  264. C0 = CFrame.new(.3,-1,.2)*CFrame.Angles(180, 180, 270),
  265. Part1 = Reaper2,
  266. })
  267. local Mesh = AddInstance("SpecialMesh",{
  268. Parent = Reaper2,
  269. MeshId = "rbxassetid://545652408",
  270. TextureId = "rbxassetid://545652417",
  271. Scale = Vector3.new(1,1,1),
  272. VertexColor = Vector3.new(1,1,1),
  273. })
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281. game:GetService("RunService").Heartbeat:connect(function(s, p)
  282. tf = tf + s
  283. if tf >= frame then
  284. for i = 1, math.floor(tf / frame) do
  285. Heartbeat:Fire()
  286. end
  287. tf = tf - frame * math.floor(tf / frame)
  288. end
  289. end)
  290. function swait(num)
  291. if num == 0 or num == nil then
  292. Heartbeat.Event:wait()
  293. else
  294. for i = 1, num do
  295. Heartbeat.Event:wait()
  296. end
  297. end
  298. end
  299. tool = Instance.new("Tool")
  300. tool.CanBeDropped = false
  301. tool.RequiresHandle = false
  302. tool.TextureId = "rbxassetid://291302154"
  303. tool.ToolTip = "NANI"
  304. tool.Name = "AAAAAAAAAAAAAA"
  305. tool.Parent = plr.Backpack
  306. modz = Instance.new("Model")
  307. modz.Name = "efx"
  308. modz.Parent = chr
  309. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  310. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  311. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  312. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  313. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  314. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  315. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  316. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  317. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  318. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  319. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  320. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  321. local nscale = Instance.new("NumberValue")
  322. nscale.Value = 1
  323. nscale.Parent = nil
  324. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  325. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  326. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  327. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  328. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  329. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  330. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  331. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  332. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  333. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  334. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  335. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  336. nscale.Changed:connect(function()
  337. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  338. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  339. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  340. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  341. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  342. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  343. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  344. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  345. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  346. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  347. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  348. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  349. end)
  350. RS = tors:FindFirstChild("Right Shoulder")
  351. LS = tors:FindFirstChild("Left Shoulder")
  352. RH = tors:FindFirstChild("Right Hip")
  353. LH = tors:FindFirstChild("Left Hip")
  354. RJ = hrp:FindFirstChild("RootJoint")
  355. N = tors:FindFirstChild("Neck")
  356. cf = CFrame.new
  357. ang = CFrame.Angles
  358. rd = math.rad
  359. rd2 = math.random
  360. function nooutline(p)
  361. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  362. end
  363. function makepart(color, name, reflec, trans, mater, parnt, cfram)
  364. local port = Instance.new("Part")
  365. port.BrickColor = BrickColor.new(color)
  366. port.Name = name
  367. port.Transparency = trans
  368. nooutline(port)
  369. port.Reflectance = reflec
  370. port.Material = mater
  371. port.Anchored = false
  372. port.CanCollide = false
  373. port.Locked = true
  374. port.Size = Vector3.new(0.2, 0.2, 0.2)
  375. port.Parent = parnt
  376. return port
  377. end
  378. function makemesh(meshtype, scale, meshid, parent)
  379. local mes = Instance.new("SpecialMesh")
  380. mes.MeshType = meshtype
  381. mes.Scale = scale
  382. if meshtype == "FileMesh" then
  383. mes.MeshId = meshid
  384. end
  385. mes.Parent = parent
  386. return mes
  387. end
  388. function maketexturemesh(meshtype, scale, meshid, texture, parent)
  389. local mes = Instance.new("SpecialMesh")
  390. mes.MeshType = meshtype
  391. mes.Scale = scale
  392. if meshtype == "FileMesh" then
  393. mes.MeshId = meshid
  394. mes.TextureId = texture
  395. end
  396. mes.Parent = parent
  397. return mes
  398. end
  399. function makeweld(parent, p0, p1, c0, c1)
  400. local wel = Instance.new("Weld")
  401. wel.Part0 = p0
  402. wel.Part1 = p1
  403. wel.C0 = c0
  404. if c1 ~= nil then
  405. wel.C1 = c1
  406. end
  407. wel.Parent = parent
  408. return wel
  409. end
  410. local lauf1 = Instance.new("Sound")
  411. lauf1.SoundId = "rbxassetid://305526724"
  412. lauf1.Volume = 1.5
  413. lauf1.Pitch = 1
  414. lauf1.Parent = hrp
  415. function lerpz(joint, prop, cfrmz, alp)
  416. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  417. end
  418. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  419. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  420. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  421. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  422. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  423. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  424. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  425. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  426. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  427. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  428. function resetlerp()
  429. RJ.C0 = RJC0
  430. RJ.C1 = RJC1
  431. N.C0 = NC0
  432. N.C1 = NC1
  433. RS.C0 = RSC0
  434. RS.C1 = RSC1
  435. LS.C0 = LSC0
  436. LS.C1 = LSC1
  437. RH.C0 = RHC0
  438. RH.C1 = RHC1
  439. LH.C0 = LHC0
  440. LH.C1 = LHC1
  441. end
  442. function test()
  443. if selected == false or activu == true then
  444. return
  445. end
  446. if ragged == false then
  447. ragged = true
  448. human.PlatformStand = true
  449. if rarm and tors:FindFirstChild("Right Shoulder") then
  450. tors:FindFirstChild("Right Shoulder"):Destroy()
  451. makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder")
  452. maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
  453. end
  454. if larm and tors:FindFirstChild("Left Shoulder") then
  455. tors:FindFirstChild("Left Shoulder"):Destroy()
  456. makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder")
  457. maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
  458. end
  459. if rleg and tors:FindFirstChild("Right Hip") then
  460. tors:FindFirstChild("Right Hip"):Destroy()
  461. makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip")
  462. maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
  463. end
  464. if lleg and tors:FindFirstChild("Left Hip") then
  465. tors:FindFirstChild("Left Hip"):Destroy()
  466. makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip")
  467. maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
  468. end
  469. elseif ragged == true then
  470. ragged = false
  471. human.Jump = true
  472. if rarm and tors:FindFirstChild("Right Shoulder") then
  473. tors:FindFirstChild("Right Shoulder"):Destroy()
  474. makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder")
  475. rarm:FindFirstChild("touchy"):Destroy()
  476. end
  477. if larm and tors:FindFirstChild("Left Shoulder") then
  478. tors:FindFirstChild("Left Shoulder"):Destroy()
  479. makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder")
  480. larm:FindFirstChild("touchy"):Destroy()
  481. end
  482. if rleg and tors:FindFirstChild("Right Hip") then
  483. tors:FindFirstChild("Right Hip"):Destroy()
  484. makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip")
  485. rleg:FindFirstChild("touchy"):Destroy()
  486. end
  487. if lleg and tors:FindFirstChild("Left Hip") then
  488. tors:FindFirstChild("Left Hip"):Destroy()
  489. makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip")
  490. lleg:FindFirstChild("touchy"):Destroy()
  491. end
  492. RS = tors:FindFirstChild("Right Shoulder")
  493. LS = tors:FindFirstChild("Left Shoulder")
  494. RH = tors:FindFirstChild("Right Hip")
  495. LH = tors:FindFirstChild("Left Hip")
  496. RJ = hrp:FindFirstChild("RootJoint")
  497. N = tors:FindFirstChild("Neck")
  498. end
  499. end
  500. function makegloo(paren, co, ci, parto, parti, nam)
  501. local gloo = Instance.new("Glue")
  502. gloo.Name = nam
  503. gloo.C0 = co
  504. gloo.C1 = ci
  505. gloo.Part0 = parto
  506. gloo.Part1 = parti
  507. gloo.Parent = paren
  508. end
  509. function makejoint(paren, co, ci, parto, parti, nam)
  510. local gloo = Instance.new("Motor6D")
  511. gloo.Name = nam
  512. gloo.C0 = co
  513. gloo.C1 = ci
  514. gloo.Part0 = parto
  515. gloo.Part1 = parti
  516. gloo.Parent = paren
  517. end
  518. function maketouchy(parent, limb, cframe)
  519. local pr = Instance.new("Part")
  520. pr.Name = "touchy"
  521. pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  522. pr.Transparency = 1
  523. pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  524. pr.CanCollide = true
  525. pr.Anchored = false
  526. pr.Parent = parent
  527. local w = Instance.new("Weld")
  528. w.Part0 = pr
  529. w.Part1 = limb
  530. w.C0 = cframe
  531. w.Parent = pr
  532. end
  533. local clibat, spec
  534. local dipperhat = chr:FindFirstChild("DXD_DipperHat")
  535. local dipperrot
  536. if dipperhat then
  537. dipperrot = dipperhat.Handle.HatAttachment.Rotation
  538. end
  539. function bat()
  540. if selected == false or activu == true then
  541. return
  542. end
  543. if batting == false then
  544. batting = true
  545. do
  546. local bmod = Instance.new("Model")
  547. bmod.Name = "bmodel"
  548. bmod.Parent = chr
  549. local hnd = makepart("Toothpaste", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  550. local hmes = makemesh("Head", Vector3.new(2, 9, 2), nil, hnd)
  551. local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil)
  552. hnd.Transparency = 1
  553. local pt5 = makepart("Toothpaste", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  554. local p5m = makemesh("FileMesh", Vector3.new(2, 2, 1.7), "rbxassetid://88742477", pt5)
  555. p5m.Offset = Vector3.new(.2, -.3, -2.5)
  556. p5m.TextureId = "rbxassetid://88745396"
  557. local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(270), rd(90)) * cf(0, 0.7, -0.3), nil)
  558.  
  559. local swingwoo = Instance.new("Sound")
  560. swingwoo.SoundId = "rbxassetid://10209640"
  561. swingwoo.Pitch = rd2(10, 11) / 10
  562. swingwoo.Name = "sweae"
  563. swingwoo.Volume = 1
  564. swingwoo.Parent = hrp
  565. clibat = tool.Activated:connect(function()
  566. if selected == false or activu == true or ragged == true then
  567. return
  568. end
  569. activu = true
  570. for _ = 1, 5 do
  571. swait()
  572. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  573. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  574. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  575. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  576. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  577. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  578. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  579. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  580. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  581. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  582. end
  583. local bon = Instance.new("Sound")
  584. bon.SoundId = "rbxassetid://305526724"
  585. bon.Pitch = rd2(10, 12) / 10
  586. bon.Volume = 1
  587. bon.Parent = hrp
  588. game.Debris:AddItem(bon, 1)
  589. bon:Play()
  590. swingwoo:Play()
  591. for X = 1, 5 do
  592. swait()
  593. if X > 1 then
  594. hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)))
  595. end
  596. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  597. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  598. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  599. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  600. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  601. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  602. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  603. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  604. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  605. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  606. end
  607. activu = false
  608. end)
  609. spec = mouse.KeyDown:connect(function(keya)
  610. if selected == false or activu == true or ragged == true then
  611. return
  612. end
  613. if keya == "e" then
  614. activu = true
  615. local speed = human.WalkSpeed
  616. human.WalkSpeed = 0
  617. human:SetStateEnabled(3, false)
  618. local sond = Instance.new("Sound")
  619. sond.Volume = 2
  620. sond.Pitch = 1
  621. sond.EmitterSize = 15
  622. sond.SoundId = "rbxassetid://345590133"
  623. sond.Parent = pt5
  624. chara.Head.face.Texture = "http://www.roblox.com/asset/?id=755299502"
  625.  
  626. sond:Play()
  627.  
  628. local function expa()
  629.  
  630.  
  631. for _ = 1, 1 do
  632. swait()
  633. hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7)
  634.  
  635. p5m.Scale = p5m.Scale:lerp(Vector3.new(2, 2, 3.7), 0.7)
  636. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(270), rd(90)) * cf(0, 0.7, -0.3), nil)
  637.  
  638. end
  639. for _ = 1, 2 do
  640. swait()
  641. hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7)
  642.  
  643. p5m.Scale = p5m.Scale:lerp(Vector3.new(3, 3, 2.7), 0.7)
  644. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(270), rd(90)) * cf(0, -4.025, 0), nil)
  645.  
  646. end
  647. end
  648. for _ = 1, 2 do
  649. swait()
  650. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  651. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  652. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  653. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  654. lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5)
  655. if dipperhat then
  656. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3)
  657. end
  658. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  659. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  660. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  661. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  662. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  663. end
  664.  
  665. print('um')
  666. for _ = 1, 20 do
  667.  
  668.  
  669. swait()
  670.  
  671.  
  672. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  673. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  674. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  675. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  676. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
  677. if dipperhat then
  678. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3)
  679. end
  680. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  681. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  682. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  683. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  684. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  685. end
  686. print('no')
  687. chara.Head.face.Texture = "http://www.roblox.com/asset/?id=755299502"
  688. for _ = 1, 10 do
  689. swait()
  690. lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2)
  691. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2)
  692. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2)
  693. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  694. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2)
  695. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  696. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2)
  697. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  698. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2)
  699. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  700. end
  701. expa()
  702.  
  703. for O = 1, 10 do
  704. swait()
  705. lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01)
  706. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01)
  707. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01)
  708. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  709. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01)
  710. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  711. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01)
  712. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  713. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01)
  714. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  715. end
  716. local whoooo = Instance.new("Sound")
  717. whoooo.Volume = .7
  718. whoooo.TimePosition = 0
  719. whoooo.Pitch = 1
  720. whoooo.SoundId = "rbxassetid://254873067"
  721. whoooo.Parent = pt5
  722. whoooo:Play()
  723. game.Debris:AddItem(whoooo, 2)
  724.  
  725. local whoooo2 = Instance.new("Sound")
  726. whoooo2.Volume = 3
  727. whoooo2.TimePosition = 0
  728. whoooo2.Pitch = 1
  729. whoooo2.SoundId = "rbxassetid://296102734"
  730. whoooo2.Parent = pt5
  731.  
  732. game.Debris:AddItem(whoooo2, 2)
  733.  
  734. for O = 1, 6 do
  735. swait()
  736. hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -100 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)))
  737. lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05)
  738. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05)
  739. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05)
  740. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  741. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05)
  742. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  743. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05)
  744. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  745. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05)
  746. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  747. end
  748. whoooo2:Play()
  749. for O = 1, 13 do
  750. swait()
  751. hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075)
  752.  
  753. p5m.Scale = p5m.Scale:lerp(Vector3.new(2, 2, 1.7), 0.05 + O * 0.075)
  754. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(270), rd(90)) * cf(0, 0.7, -0.3), 0.05 + O * 0.075)
  755.  
  756. lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075)
  757. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075)
  758. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075)
  759. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  760. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075)
  761. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  762. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075)
  763. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  764. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075)
  765. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  766. end
  767. if dipperhat then
  768. dipperhat.Handle.HatAttachment.Rotation = dipperrot
  769. end
  770. human.WalkSpeed = speed
  771. human:SetStateEnabled(3, true)
  772. activu = false
  773. end
  774. --------------------------------------------------------------------------------------------------------------------------------------
  775.  
  776.  
  777. --------------------------------------------------------------------------------------------------------------------------------------
  778. if keya == "q" then
  779. activu = true
  780. do
  781. local checkkey = true
  782. local keyingup = mouse.KeyUp:connect(function(xzx)
  783. if xzx == "q" then
  784. checkkey = false
  785. end
  786. end)
  787. repeat
  788. for _ = 1, 2 do
  789. swait()
  790. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  791. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  792. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  793. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  794. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  795. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  796. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  797. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  798. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  799. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  800. end
  801. swingwoo:Play()
  802. for T = 1, 2 do
  803. swait()
  804. if T == 2 then
  805. hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  806. end
  807. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  808. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  809. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  810. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  811. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  812. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  813. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  814. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  815. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  816. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  817. end
  818. for _ = 1, 2 do
  819. swait()
  820. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7)
  821. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  822. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7)
  823. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  824. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7)
  825. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  826. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  827. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  828. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7)
  829. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  830. end
  831. swingwoo:Play()
  832. for T = 1, 2 do
  833. swait()
  834. if T == 2 then
  835. hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  836. end
  837. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7)
  838. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  839. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7)
  840. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  841. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  842. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  843. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  844. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  845. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7)
  846. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  847. end
  848. until not checkkey
  849. keyingup:Disconnect()
  850. activu = false
  851. end
  852. end
  853. if keya == "f" then
  854. activu = true
  855. do
  856. local speed = human.WalkSpeed
  857. human.WalkSpeed = 2
  858. human:SetStateEnabled(3, false)
  859. local checkkey = true
  860. local chargecounter = 0
  861. local keyingup = mouse.KeyUp:connect(function(xzx)
  862. if xzx == "f" then
  863. checkkey = false
  864. end
  865. end)
  866. local firederp
  867. for _ = 1, 8 do
  868. swait()
  869. hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  870. lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
  871. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5)
  872. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5)
  873. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  874. lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5)
  875. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
  876. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5)
  877. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  878. lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5)
  879. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5)
  880. end
  881. repeat
  882. swait()
  883. chargecounter = chargecounter + 1
  884. lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019)
  885. lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019)
  886. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019)
  887. if chargecounter > 30 and firederp == nil then
  888. firederp = Instance.new("Fire")
  889. firederp.Color = Color3.new(0,1,1)
  890. firederp.Parent = pt5
  891. end
  892. until not checkkey or chargecounter > 50
  893. swingwoo:Play()
  894. for U = 1, 10 do
  895. swait()
  896. if U < 3 then
  897. hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 3) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25)))
  898. if chargecounter > 30 then
  899. tagexplode(pt5, 5, 1)
  900. end
  901. end
  902. hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  903. lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6)
  904. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6)
  905. lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4)
  906. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4)
  907. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4)
  908. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4)
  909. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6)
  910. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  911. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6)
  912. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6)
  913. end
  914. if firederp then
  915. firederp:Destroy()
  916. end
  917. swait(10)
  918. hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0)
  919. keyingup:Disconnect()
  920. human.WalkSpeed = speed
  921. human:SetStateEnabled(3, true)
  922. activu = false
  923. end
  924. end
  925. end)
  926. end
  927. elseif batting == true then
  928. batting = false
  929. clibat:Disconnect()
  930. spec:Disconnect()
  931. hrp.sweae:Destroy()
  932. local batmod = chr:FindFirstChild("bmodel")
  933. batmod.hnd.Weld:Destroy()
  934. batmod.PrimaryPart = batmod.hnd
  935. batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
  936. for _, A in pairs(batmod:GetChildren()) do
  937. if A.ClassName == "Part" then
  938. A.CanCollide = true
  939. A.Anchored = false
  940. end
  941. end
  942. batmod.Parent = workspace
  943. game.Debris:AddItem(batmod, 8)
  944. end
  945. end
  946. local movin = false
  947. local cliham, hamspec
  948. function ham()
  949. if batting == false then
  950. batting = true
  951. do
  952. local bmod = Instance.new("Model")
  953. bmod.Name = "bmodel"
  954. bmod.Parent = chr
  955. local makemotor = function(parent, p0, p1, c0, c1)
  956. local wel = Instance.new("Motor6D")
  957. wel.Part0 = p0
  958. wel.Part1 = p1
  959. wel.C0 = c0
  960. if c1 ~= nil then
  961. wel.C1 = c1
  962. end
  963. wel.Parent = parent
  964. return wel
  965. end
  966. local hnd = makepart("Toothpaste", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  967. hnd.Anchored = true
  968. local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
  969. movin = true
  970. hnd.CFrame = hrp.CFrame
  971. coroutine.resume(coroutine.create(function()
  972. while hnd.Anchored == true do
  973. swait()
  974. if movin then
  975. hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65)
  976. end
  977. end
  978. end))
  979. local pt1 = makepart("Toothpaste", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  980. local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
  981. local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil)
  982. local pt2 = makepart("Toothpaste", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  983. local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
  984. local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil)
  985. local pt3 = makepart("Toothpaste", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  986. local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
  987. local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil)
  988. local pt4 = makepart("Toothpaste", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  989. local p4m = makemesh("FileMesh", Vector3.new(2,2,0.5), "rbxassetid://11185882", pt4)
  990. p4m.TextureId = "rbxassetid://201026913"
  991. local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil)
  992. local pt5 = makepart("Toothpaste", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  993. local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
  994. local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil)
  995. local pt6 = makepart("Toothpaste", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  996. local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
  997. local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil)
  998. local pt7 = makepart("Toothpaste", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  999. local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
  1000. local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(270), rd(0)) * cf(0, -27, 0), nil)
  1001. local hdec1 = Instance.new("Decal")
  1002. hdec1.Texture = "rbxassetid://755299502"
  1003. hdec1.Face = "Front"
  1004. hdec1.Parent = pt7
  1005. local pt8 = makepart("Toothpaste", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1006. local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
  1007. local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil)
  1008. local hdec2 = Instance.new("Decal")
  1009. hdec2.Texture = "rbxassetid://755299502"
  1010. hdec2.Face = "Front"
  1011. hdec2.Parent = pt8
  1012. local pt9 = makepart("Toothpaste", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  1013. local p9m = makemesh("FileMesh", Vector3.new(12, 11, 5), "rbxassetid://11185882", pt9)
  1014. local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(270), rd(0)) * cf(0, -35, 0), nil)
  1015. p9m.TextureId = "rbxassetid://201026913"
  1016. local pt10 = makepart("Toothpaste", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  1017. local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
  1018. local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil)
  1019. local hdec3 = Instance.new("Decal")
  1020. hdec3.Texture = "rbxassetid://755299502"
  1021. hdec3.Face = "Front"
  1022. hdec3.Parent = pt10
  1023. local pt11 = makepart("Toothpaste", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1024. local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
  1025. local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil)
  1026. local hdec4 = Instance.new("Decal")
  1027. hdec4.Texture = "rbxassetid://755299502"
  1028. hdec4.Face = "Front"
  1029. hdec4.Parent = pt11
  1030. local pt12 = makepart("Toothpaste", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  1031. local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
  1032. local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil)
  1033. local hdec5 = Instance.new("Decal")
  1034. hdec5.Texture = "rbxassetid://755299502"
  1035. hdec5.Face = "Front"
  1036. hdec5.Parent = pt12
  1037. local pt13 = makepart("Toothpaste", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1038. local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
  1039. local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil)
  1040. local hdec6 = Instance.new("Decal")
  1041. hdec6.Texture = "rbxassetid://755299502"
  1042. hdec6.Face = "Front"
  1043. hdec6.Parent = pt13
  1044. cliham = tool.Activated:connect(function()
  1045. if selected == false or activu == true or ragged == true then
  1046. return
  1047. end
  1048. activu = true
  1049. movin = false
  1050. for B = 1, 20 do
  1051. swait()
  1052. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4)
  1053. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4)
  1054. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4)
  1055. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1056. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4)
  1057. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1058. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4)
  1059. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1060. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4)
  1061. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1062. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045)
  1063. end
  1064. for B = 1, 30 do
  1065. swait()
  1066. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80)
  1067. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80)
  1068. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80)
  1069. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1070. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80)
  1071. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1072. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80)
  1073. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1074. lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80)
  1075. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1076. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  1077. end
  1078. for B = 1, 7 do
  1079. swait()
  1080. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15)
  1081. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15)
  1082. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15)
  1083. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1084. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15)
  1085. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1086. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15)
  1087. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1088. lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15)
  1089. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1090. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  1091. end
  1092. for B = 1, 4 do
  1093. swait()
  1094. lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1)
  1095. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1)
  1096. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1)
  1097. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1098. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1)
  1099. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1100. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1)
  1101. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1102. lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1)
  1103. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1104. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  1105. end
  1106. local explode = Instance.new("Explosion",pt12)
  1107. explode.Position = pt12.Position
  1108. explode.BlastRadius = 15
  1109. explode.BlastPressure = 90000
  1110. swait(15)
  1111. movin = true
  1112. activu = false
  1113. end)
  1114. end
  1115. elseif batting == true then
  1116. batting = false
  1117. cliham:Disconnect()
  1118. local badevz = chr:FindFirstChild("bmodel")
  1119. badevz.PrimaryPart = badevz.hnd
  1120. for _, A in pairs(badevz:GetChildren()) do
  1121. if A.ClassName == "Part" then
  1122. A.CanCollide = true
  1123. A.Anchored = false
  1124. end
  1125. end
  1126. movin = false
  1127. badevz.Parent = workspace
  1128. badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0))
  1129. game.Debris:AddItem(badevz, 8)
  1130. end
  1131. end
  1132. game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
  1133. function lauf()
  1134. if selected == false or activu == true then
  1135. return
  1136. end
  1137. lauf1:Play()
  1138. end
  1139. function makenoob(cfrem, scalo, rags)
  1140. nscale.Value = scalo
  1141. local md = Instance.new("Model")
  1142. md.Name = "Mr.Meeseeks"
  1143. md.Parent = workspace
  1144. local hu = Instance.new("Humanoid")
  1145. hu.RigType = "R6"
  1146. hu.MaxHealth = 100 * scalo
  1147. hu.Health = 100 * scalo
  1148. hu.Parent = md
  1149. local anm = Instance.new("Animator")
  1150. anm.Parent = hu
  1151. hu.PlatformStand = true
  1152. local light = function(part)
  1153. part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  1154. end
  1155. local hd = Instance.new("Part")
  1156. hd.Name = "Head"
  1157. hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  1158. hd.TopSurface = "Smooth"
  1159. hd.BottomSurface = "Inlet"
  1160. hd.Locked = true
  1161. hd.BrickColor = BrickColor.new("Toothpaste")
  1162. hd.CanCollide = true
  1163. hd.Anchored = false
  1164. light(hd)
  1165. hd.Parent = md
  1166. local hm = Instance.new("SpecialMesh")
  1167. hm.MeshType = "Head"
  1168. hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  1169. hm.Parent = hd
  1170. local hf = Instance.new("Decal")
  1171. hf.Texture = "rbxasset://textures/face.png"
  1172. local gen = math.random(1, 1)
  1173. if gen == 1 then
  1174. hf.Texture = "rbxassetid://755299502"
  1175. end
  1176. hf.Face = "Front"
  1177. hf.Parent = hd
  1178. local hrpa = Instance.new("Part")
  1179. hrpa.Name = "HumanoidRootPart"
  1180. hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  1181. hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1182. hrpa.Transparency = 1
  1183. hrpa.CanCollide = false
  1184. hrpa.Locked = true
  1185. light(hrpa)
  1186. hrpa.Parent = md
  1187. local tagbomb = Instance.new("BoolValue")
  1188. tagbomb.Name = "tagbomb"
  1189. tagbomb.Value = false
  1190. tagbomb.Parent = hrpa
  1191. local learm = Instance.new("Part")
  1192. learm.Name = "Left Arm"
  1193. learm.BrickColor = BrickColor.new("Toothpaste")
  1194. learm.CanCollide = false
  1195. learm.Locked = true
  1196. learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1197. light(learm)
  1198. learm.Parent = md
  1199. local riarm = Instance.new("Part")
  1200. riarm.Name = "Right Arm"
  1201. riarm.BrickColor = BrickColor.new("Toothpaste")
  1202. riarm.CanCollide = false
  1203. riarm.Locked = true
  1204. light(riarm)
  1205. riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1206. riarm.Parent = md
  1207. local leleg = Instance.new("Part")
  1208. leleg.Name = "Left Leg"
  1209. leleg.BrickColor = BrickColor.new("Toothpaste")
  1210. leleg.CanCollide = false
  1211. leleg.Locked = true
  1212. light(leleg)
  1213. leleg.BottomSurface = 0
  1214. leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1215. leleg.Parent = md
  1216. local rileg = Instance.new("Part")
  1217. rileg.Name = "Right Leg"
  1218. rileg.BrickColor = BrickColor.new("Toothpaste")
  1219. rileg.CanCollide = false
  1220. rileg.Locked = true
  1221. light(rileg)
  1222. rileg.BottomSurface = 0
  1223. rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1224. rileg.Parent = md
  1225. local tor = Instance.new("Part")
  1226. tor.Name = "Torso"
  1227. tor.BrickColor = BrickColor.new("Toothpaste")
  1228. tor.Locked = true
  1229. light(tor)
  1230. tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1231. tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  1232. tor.Parent = md
  1233. md.PrimaryPart = hrpa
  1234. md:SetPrimaryPartCFrame(cfrem)
  1235. md:makeJoints()
  1236. makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  1237. makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  1238. if rags == true then
  1239. makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1240. makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1241. makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1242. makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1243. maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1244. maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1245. maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1246. maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1247. elseif rags == false then
  1248. makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1249. makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1250. makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1251. makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1252. hu.PlatformStand = false
  1253. end
  1254. nscale.Value = 1
  1255. hu.Touched:connect(function(tpart, uwot)
  1256. if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then
  1257. tagbomb.Value = false
  1258. hu.Health = 0
  1259. local derp = Instance.new("Explosion")
  1260. derp.BlastPressure = 200
  1261. derp.BlastRadius = 8
  1262. derp.DestroyJointRadiusPercent = 0
  1263. derp.ExplosionType = 2
  1264. derp.Visible = true
  1265. derp.Position = uwot.Position - Vector3.new(0, 0.5, 0)
  1266. derp.Parent = workspace
  1267. game.Debris:AddItem(md, 8)
  1268. end
  1269. end)
  1270. return md
  1271. end
  1272. function makecircle(cfrem, scalo)
  1273. local mcir1 = Instance.new("Part")
  1274. mcir1.Anchored = true
  1275. mcir1.CanCollide = false
  1276. mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  1277. mcir1.Transparency = 1
  1278. mcir1.CFrame = cfrem
  1279. mcir1.Parent = modz
  1280. game.Debris:AddItem(mcir1, 8)
  1281. local d1 = Instance.new("Decal")
  1282. d1.Texture = "rbxassetid://775867977"
  1283. d1.Face = "Front"
  1284. d1.Parent = mcir1
  1285. local d2 = Instance.new("Decal")
  1286. d2.Texture = "rbxassetid://602617463"
  1287. d2.Face = "Back"
  1288. d2.Parent = mcir1
  1289. local bme = Instance.new("BlockMesh")
  1290. bme.Parent = mcir1
  1291. for _ = 1, 9 do
  1292. swait()
  1293. bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  1294. end
  1295. coroutine.resume(coroutine.create(function()
  1296. swait(15)
  1297. for _ = 1, 12 do
  1298. swait()
  1299. d1.Transparency = d1.Transparency + 0.08
  1300. d2.Transparency = d2.Transparency + 0.08
  1301. end
  1302. mcir1:Destroy()
  1303. end))
  1304. return mcir1
  1305. end
  1306. function spawnnoob(circlecf, noobcf, scalez, ragd)
  1307. local aearae = makecircle(circlecf, scalez)
  1308. local nananb
  1309. if ragd then
  1310. nananb = makenoob(aearae.CFrame * noobcf, scalez, true)
  1311. elseif not ragd then
  1312. nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  1313. end
  1314. return nananb
  1315. end
  1316. function tagexplode(partoz, magn, bombdelay)
  1317. for _, guy in pairs(workspace:GetChildren()) do
  1318. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Mr.Meeseeks" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
  1319. coroutine.resume(coroutine.create(function()
  1320. swait(bombdelay * 30)
  1321. guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
  1322. end))
  1323. end
  1324. end
  1325. end
  1326. function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
  1327. for _, guy in pairs(workspace:GetChildren()) do
  1328. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  1329. do
  1330. local humz = guy:FindFirstChild("Humanoid")
  1331. local horp = guy:FindFirstChild("HumanoidRootPart")
  1332. humz:TakeDamage(1000)
  1333. humz:SetStateEnabled(16, true)
  1334. delay(debtim, function()
  1335. humz:SetStateEnabled(16, true)
  1336. end)
  1337. local db = Instance.new("StringValue")
  1338. db.Name = "alabo"
  1339. db.Parent = horp
  1340. delay(debtim, function()
  1341. db:Destroy()
  1342. end)
  1343. local b = Instance.new("Part")
  1344. nooutline(b)
  1345. b.Size = Vector3.new(0.2, 0.2, 0.2)
  1346. b.Transparency = 0.25
  1347. b.Anchored = true
  1348. b.CanCollide = false
  1349. b.BrickColor = BrickColor.new("Institutional white")
  1350. b.Locked = true
  1351. b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  1352. b.Parent = modz
  1353. local c = Instance.new("SpecialMesh")
  1354. c.MeshType = "Sphere"
  1355. c.Scale = Vector3.new(3.5, 3.5, 3.5)
  1356. c.Parent = b
  1357. game.Debris:AddItem(b, 1)
  1358. if bodyfdire then
  1359. local boopyve = Instance.new("BodyVelocity")
  1360. boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
  1361. boopyve.P = 9999999999
  1362. boopyve.Velocity = bodyfdire
  1363. boopyve.Parent = horp
  1364. game.Debris:AddItem(boopyve, debtim)
  1365. end
  1366. if bodyrot then
  1367. local boopyro = Instance.new("BodyAngularVelocity")
  1368. boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
  1369. boopyro.P = math.huge
  1370. boopyro.AngularVelocity = bodyrot
  1371. boopyro.Parent = horp
  1372. game.Debris:AddItem(boopyro, debtim)
  1373. end
  1374. local bet = Instance.new("Sound")
  1375. bet.Pitch = rd2(9, 11) / 10
  1376. bet.Volume = rd2(12, 14) / 10
  1377. bet.SoundId = "rbxassetid://305526724"
  1378. bet.Parent = b
  1379. bet:Play()
  1380. coroutine.resume(coroutine.create(function()
  1381. for _ = 1, 5 do
  1382. swait()
  1383. b.Transparency = b.Transparency + 0.175
  1384. c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
  1385. end
  1386. end))
  1387. end
  1388. end
  1389. end
  1390. end
  1391. function cleannoobs()
  1392. for _, nib in pairs(workspace:GetChildren()) do
  1393. coroutine.resume(coroutine.create(function()
  1394. if nib.Name == "Mr.Meeseeks" then
  1395. if nib:FindFirstChild("HumanoidRootPart") then
  1396. local g = Instance.new("Part")
  1397. g.CanCollide, g.Anchored = false, true
  1398. g.Transparency = 1
  1399. g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
  1400. g.Parent = workspace
  1401. game.Debris:AddItem(g, 3.5)
  1402. local sou = Instance.new("Sound")
  1403. sou.Pitch = math.random(7, 11) / 10
  1404. sou.Volume = 0.8
  1405. sou.SoundId = "rbxassetid://111124523"
  1406. sou.Parent = g
  1407. local pe = Instance.new("ParticleEmitter")
  1408. pe.Acceleration = Vector3.new(0, 8, 0)
  1409. pe.Lifetime = NumberRange.new(1, 1.5)
  1410. pe.Rate = 0.005
  1411. pe.RotSpeed = NumberRange.new(-30, 30)
  1412. pe.Rotation = NumberRange.new(0, 360)
  1413. pe.Size = NumberSequence.new({
  1414. NumberSequenceKeypoint.new(0, 4.38, 0),
  1415. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1416. NumberSequenceKeypoint.new(1, 1.48, 0)
  1417. })
  1418. pe.Texture = "rbxassetid://244221440"
  1419. pe.Transparency = NumberSequence.new({
  1420. NumberSequenceKeypoint.new(0, 0, 0),
  1421. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1422. NumberSequenceKeypoint.new(1, 1, 1)
  1423. })
  1424. pe.ZOffset = 5
  1425. pe.Enabled = true
  1426. pe.VelocitySpread = 360
  1427. pe.Parent = g
  1428. swait(5)
  1429. pe:Emit(6)
  1430. sou:Play()
  1431. end
  1432. nib:Destroy()
  1433. end
  1434. end))
  1435. end
  1436. end
  1437. function animo(yep)
  1438. if yep == true then
  1439. anim.Parent = human
  1440. chr.Animate.Disabled = false
  1441. elseif yep == false then
  1442. chr.Animate.Disabled = true
  1443. anim.Parent = nil
  1444. end
  1445. end
  1446. mouse.KeyDown:connect(function(key)
  1447. if key == "r" then
  1448. test()
  1449. end
  1450. if key == "t" then
  1451. lauf()
  1452. end
  1453. if key == "c" then
  1454. ham()
  1455. end
  1456. if key == "x" then
  1457. bat()
  1458. end
  1459. if key == "l" and selected == true then
  1460. spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true)
  1461. end
  1462. if key == "j" and selected == true then
  1463. spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true)
  1464. end
  1465. if key == "k" and selected == true then
  1466. spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false)
  1467. end
  1468. if key == "p" then
  1469. cleannoobs()
  1470. end
  1471. if key == "z" then
  1472. if selected == false or activu == true then
  1473.  
  1474.  
  1475.  
  1476.  
  1477. return
  1478. end
  1479. if human.WalkSpeed == 25 then
  1480. ----------------------------------------------------------------------
  1481.  
  1482.  
  1483.  
  1484. activu = true
  1485. local speed = human.WalkSpeed
  1486. human.WalkSpeed = 0
  1487. human:SetStateEnabled(3, false)
  1488. local sond = Instance.new("Sound")
  1489. sond.Volume = 10
  1490. sond.Pitch = 1
  1491. sond.EmitterSize = 15
  1492. sond.SoundId = "rbxassetid://908094675"
  1493. sond.Parent = hed
  1494. sond.TimePosition = .8
  1495. Reaper2.Transparency = 0
  1496. chara.Head.face.Texture = "http://www.roblox.com/asset/?id=755299502"
  1497.  
  1498. sond:Play()
  1499.  
  1500. local function expa()
  1501.  
  1502.  
  1503.  
  1504. end
  1505. for _ = 1, 2 do
  1506. swait()
  1507. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  1508. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  1509. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  1510. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1511. lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5)
  1512. if dipperhat then
  1513. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3)
  1514. end
  1515. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1516. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  1517. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1518. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  1519. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1520.  
  1521. end
  1522.  
  1523.  
  1524.  
  1525. for _ = 1, 20 do
  1526.  
  1527.  
  1528. swait()
  1529.  
  1530.  
  1531. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  1532. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  1533. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  1534. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1535. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
  1536. if dipperhat then
  1537. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3)
  1538. end
  1539. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1540. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  1541. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1542. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  1543. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1544. end
  1545. if dipperhat then
  1546. dipperhat.Handle.HatAttachment.Rotation = dipperrot
  1547. end
  1548.  
  1549.  
  1550.  
  1551. human:SetStateEnabled(3, true)
  1552. activu = false
  1553.  
  1554.  
  1555.  
  1556. ----------------------------------------------------------------------
  1557. human.WalkSpeed = 70
  1558. human.JumpPower = 75
  1559. wait(.2)
  1560. Reaper2.Transparency = 1
  1561. chara.Head.face.Texture = "http://www.roblox.com/asset/?id=755299502"
  1562. wait(1.5)
  1563. sond:Stop()
  1564. else
  1565. human.WalkSpeed = 25
  1566. human.JumpPower = 50
  1567. end
  1568. end
  1569.  
  1570. if key == "m" then
  1571. if musicon == true then
  1572. Music1:Stop()
  1573. musicon = false
  1574.  
  1575. else
  1576. Music1:Play()
  1577. musicon = true
  1578.  
  1579. end
  1580. end
  1581. end)
  1582. tool.Equipped:connect(function()
  1583. selected = true
  1584. end)
  1585. tool.Unequipped:connect(function()
  1586. selected = false
  1587. end)
  1588. animo(false)
  1589. human.WalkSpeed = 25
  1590. sine = 0
  1591. charge = 1
  1592. cos = math.cos
  1593. game:GetService("RunService").RenderStepped:connect(function()
  1594. if ragged == false and activu == false then
  1595. local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
  1596. local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
  1597. local checkstate = human:GetState()
  1598. if checkstate.Value == 13 then
  1599. animpose = "Sitting"
  1600. elseif hrp.Velocity.y > 1 and checkpart == nil then
  1601. animpose = "Jumping"
  1602. elseif hrp.Velocity.y < -1 and checkpart == nil then
  1603. animpose = "Falling"
  1604. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1605. animpose = "Idle"
  1606. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then
  1607. animpose = "Walking"
  1608. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then
  1609. animpose = "TooFast"
  1610. end
  1611. if animpose == "Idle" then
  1612. sine = sine + charge
  1613. lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3)
  1614. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3)
  1615. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
  1616. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1617. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
  1618. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1619. lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3)
  1620. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1621. lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3)
  1622. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1623. end
  1624. if animpose == "Walking" then
  1625. sine = sine + charge
  1626. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3)
  1627. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3)
  1628. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
  1629. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1630. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
  1631. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1632. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
  1633. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1634. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
  1635. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1636. end
  1637. if animpose == "Jumping" then
  1638. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3)
  1639. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
  1640. lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3)
  1641. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1642. lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3)
  1643. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1644. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3)
  1645. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1646. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3)
  1647. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1648. end
  1649. if animpose == "Falling" then
  1650. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1651. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1652. lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3)
  1653. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1654. lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3)
  1655. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1656. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3)
  1657. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1658. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3)
  1659. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1660. end
  1661. if animpose == "TooFast" then
  1662. sine = sine + charge
  1663. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3)
  1664. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3)
  1665. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
  1666. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1667. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
  1668. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1669. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
  1670. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1671. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
  1672. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1673. end
  1674. if animpose == "Sitting" then
  1675. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1676. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1677. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1678. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1679. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1680. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1681. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1682. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1683. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1684. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1685. end
  1686. end
  1687. end)
  1688.  
  1689.  
  1690. chara.Humanoid.MaxHealth = 1000
  1691. chara.Humanoid.Health = 1000
  1692. while true do
  1693. if chara.Humanoid.Health <=50 then
  1694. chara.Humanoid.Health = 1000
  1695. end
  1696. wait(0.1)
  1697. end
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713. ------made by (123jl123)
Add Comment
Please, Sign In to add comment