Advertisement
therainbowcreeperRBX

Fe Scout

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