HenloMyDude

fixed scout

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