Advertisement
Guest User

Untitled

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