StarzoZero

Roblox FE Scout Script (Edit by me)

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