Advertisement
coolgoldboy166

mr meeseks

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