Advertisement
yoyo74456

Scout

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