Advertisement
HenloMyDude

deimos needness

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