Advertisement
Pancakess

i also idk

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