Advertisement
Hermaxs

TF Scout (Can Attack)

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