Advertisement
marioisdabomb

Untitled

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