Advertisement
Basykung7845

Scout

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