Advertisement
Ban43_GodOfEdits

thor

Sep 16th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.93 KB | None | 0 0
  1. ------------------------------------------------------------------------
  2. -- Made by Cronizete --
  3. ------------------------------------------------------------------------
  4.  
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. --print("FE Compatibility code by Mokiros")
  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. -- Things --
  89. ------------------------------------------------------------------------
  90.  
  91. plr = owner
  92. char = plr.Character
  93. lleg,rleg,larm,rarm,hed = char["Left Leg"],char["Right Leg"],char["Left Arm"],char["Right Arm"],char["Head"]
  94. rutprt,torso = char.HumanoidRootPart,char.Torso
  95. otheranims,swimming,hum,stopanim,cooldown = false,false,char:FindFirstChildOfClass'Humanoid',false,false
  96. TweenService = game:GetService("TweenService")
  97. stopanim2 = false -- larm
  98. stopanim3 = false -- head
  99.  
  100. hammer = Instance.new('Part', char)
  101. hammer.Name = "Hammer"
  102. hammer.CanCollide = true
  103. hammer.Position = char.Head.Position
  104. hammer.Size = Vector3.new(1.71, 1.31, 3.2)
  105. hammer.Locked = true
  106. mesh = Instance.new('SpecialMesh', hammer)
  107. mesh.MeshId = "rbxassetid://12592754"
  108. mesh.TextureId = "rbxassetid://12592745"
  109. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  110.  
  111. fx = Instance.new('Part', char)
  112. fx.Anchored = false
  113. fx.CanCollide = false
  114. fx.Transparency = 1
  115. fx.Size = Vector3.new(1.77, 0.85, 1.05)
  116. weld = Instance.new('Weld', fx)
  117. weld.Part0 = fx
  118. weld.Part1 = hammer
  119. weld.C0 = CFrame.new(0, 0, -1.2)
  120.  
  121. func = hammer.Touched:connect(function(hit)
  122. if not hit.Parent:FindFirstChildOfClass'Humanoid' then
  123. wait(1)
  124. hammer.Anchored = true
  125. func:disconnect()
  126. end
  127. end)
  128.  
  129. function gettorso(a)
  130. return a:FindFirstChild'Torso' or a:FindFirstChild'UpperTorso' or a:FindFirstChild'LowerTorso' or a:FindFirstChild'HumanoidRootPart'
  131. end
  132.  
  133. ------------------------------------------------------------------------
  134. -- Animate Stuff --
  135. ------------------------------------------------------------------------
  136. char.Animate.Disabled=true
  137. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  138. local RunSpeed=30
  139.  
  140. local WlkSpeed=16
  141. local SwimSpeed=14
  142. local SwimDashSpeed=28
  143. local anim = "Idling"
  144. local lastanim = "Idling"
  145. local val = 0
  146. local syne = 0
  147. local num = 0
  148. local runtime = 0
  149. local pseudohead=hed:Clone()
  150. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  151. pseudohead.Name='PseudoHead'
  152. pseudohead.Parent=char.Head
  153. local pseudoweld=Instance.new('Weld',torso)
  154. pseudoweld.Part0=hed
  155. pseudoweld.Name='PseudoHedWld'
  156. pseudoweld.Part1=pseudohead
  157. hed.Transparency=1
  158.  
  159. coroutine.wrap(function() for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  160.  
  161. function Lerp(a, b, i)
  162. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  163. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  164. local calx = com1[1] + (com2[1] - com1[1]) * i
  165. local caly = com1[2] + (com2[2] - com1[2]) * i
  166. local calz = com1[3] + (com2[3] - com1[3]) * i
  167. local cala = com1[4] + (com2[4] - com1[4]) * i
  168. local calb = com1[5] + (com2[5] - com1[5]) * i
  169. local calc = com1[6] + (com2[6] - com1[6]) * i
  170. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  171. end
  172.  
  173. function TwnSingleNumber(s,f,m)
  174. local wot=s+(f-s)*m
  175. return wot
  176. end
  177.  
  178. function TwnVector3(q,w,e)
  179. local begin={q.x,q.y,q.z}
  180. local ending={w.x,w.y,w.z}
  181. local bgx=begin[1]+(ending[1]-begin[1])*e
  182. local bgy=begin[2]+(ending[2]-begin[2])*e
  183. local bgz=begin[3]+(ending[3]-begin[3])*e
  184. return Vector3.new(bgx,bgy,bgz)
  185. end
  186.  
  187. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  188. wld = Instance.new("Weld", wp1)
  189. wld.Part0 = wp0
  190. wld.Part1 = wp1
  191. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  192. end
  193.  
  194. local angles = CFrame.Angles
  195. function clerp(a, b, t)
  196. return a:lerp(b, t)
  197. end
  198.  
  199. newWeld(law, torso, larm, -1.5, 0.5, 0)
  200. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  201. newWeld(llw, torso, lleg, -.5, -2, 0)
  202. newWeld(rlw, torso, rleg, .5, -2, 0)
  203. newWeld(hw, torso, hed, 0, 1.5, 0)
  204. local rutwald=Instance.new('Weld',rutprt)
  205. rutwald.Part0=rutprt
  206. rutwald.Part1=torso
  207. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  208. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  209. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  210. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  211. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  212.  
  213. ------------------------------------------------------------------------
  214. -- idk --
  215. ------------------------------------------------------------------------
  216.  
  217. wind = Instance.new('Sound', hammer)
  218. wind.SoundId = "rbxassetid://866649671"
  219. wind.PlaybackSpeed = 1.5
  220. wind.Volume = 1
  221. wind.Looped = true
  222.  
  223. grab = Instance.new('Sound', rarm)
  224. grab.SoundId = "rbxassetid://1296135936"
  225. grab.Volume = 1
  226. grab.Looped = false
  227.  
  228. drop = Instance.new('Sound', hammer)
  229. drop.SoundId = "rbxassetid://873196972"
  230. drop.Volume = 1
  231. drop.Looped = false
  232.  
  233. ghit = Instance.new('Sound', hammer)
  234. ghit.SoundId = "rbxassetid://873196789"
  235. ghit.Volume = 5
  236. ghit.Looped = false
  237.  
  238. gyro = Instance.new('BodyGyro', hammer)
  239. gyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  240. gyro.CFrame = CFrame.Angles(math.rad(90), 0, 0)
  241.  
  242. holding = false
  243.  
  244. fakearm = rarm:Clone()
  245. fakearm.Name = "fakearm"
  246. fakearm:ClearAllChildren''
  247. fakearm.Parent = char
  248. fakearm.Transparency = 1
  249. fakearm.CanCollide = false
  250. weld = Instance.new('Weld', fakearm)
  251. weld.Part0 = fakearm
  252. weld.Part1 = rarm
  253. weld.C0 = CFrame.new(0, 0, 1)
  254. ----------------------Clothes-------------------------------
  255. --[Quicksilver edit by Bannaboy43 (only make edits cant stcipt ihml if this gets leaked tell people to send me scripts to make edits)
  256. wait(1 / 60)
  257. p = game.Players.LocalPlayer
  258.  
  259. torso = char.Torso
  260. neck = char.Torso.Neck
  261. hum = char.Humanoid
  262.  
  263. wait()
  264. hum.Health =hum.MaxHealth
  265. char.Head.face.Texture = "rbxassetid://166951215"
  266.  
  267.  
  268.  
  269. z = Instance.new("Sound", char)
  270. z.SoundId = "rbxassetid://1696333234" -- Put Music ID Here.
  271. z.Looped = true
  272. z.Volume = 3
  273. wait(.1)
  274. z:Play()
  275.  
  276.  
  277. Hat = Instance.new("Model")
  278. Hat.Parent = char
  279. Hat.Name = "Hat"
  280. rh = Instance.new("Part")
  281. rh.Parent = Hat
  282. rh.BrickColor = BrickColor.new("Brown")
  283. rh.Locked = true
  284. rh.CanCollide = false
  285. mesh = Instance.new("SpecialMesh")
  286. rh.formFactor = "Symmetric"
  287. mesh.MeshType = "FileMesh"
  288. mesh.MeshId = "rbxassetid://323386572"
  289. mesh.Parent = rh
  290. local weld = Instance.new("Weld")
  291. weld.Parent = rh
  292. weld.Part0 = rh
  293. weld.Part1 =char.Head
  294. weld.C0 = CFrame.new(0,.16,.35)*CFrame.Angles(0, 0, 0)
  295. mesh.Scale = Vector3.new(1,1,1)
  296. ----------------------------------------------------
  297. -------------Head---------------------------------
  298. --char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  299. --
  300. --Head = Instance.new("Part", char)
  301. --Head.Size = Vector3.new(1,1,1)
  302. --Headmesh = Instance.new("SpecialMesh", Head)
  303. --Headmesh.MeshId = "rbxassetid://2264333"
  304. --Headmesh.Scale = Vector3.new(0.417, 0.35, 0.36)
  305. --Headmesh.TextureId = "rbxassetid://3770870"
  306. --Head.Transparency = 0
  307. --Head.CanCollide = false
  308. --Head.Name = "plrHead"
  309. --Head.Anchored = false
  310. --Head.BrickColor = BrickColor.new("Really black")
  311. --Weld = Instance.new("Weld", char)
  312. --Weld.Part0 = char["Head"]
  313. --Weld.Part1 = Head
  314. --Weld.C1 = CFrame.new(0,-.5,0)*CFrame.Angles(0,(0),0)
  315. -------------Shield---------------------------------
  316. --char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  317. --
  318. --Shield = Instance.new("Part", char)
  319. --Shield.Size = Vector3.new(1,.4,.4)
  320. --Shieldmesh = Instance.new("SpecialMesh", Shield)
  321. --Shieldmesh.MeshId = "rbxassetid://467133867"
  322. --Shieldmesh.Scale = Vector3.new(0.06, 0.06, 0.06)
  323. --Shieldmesh.TextureId = "rbxassetid://467133879"
  324. --Shield.Transparency = 0
  325. --Shield.CanCollide = false
  326. --Shield.Name = "plrShield"
  327. --Shield.Anchored = false
  328. --Shield.BrickColor = BrickColor.new("Really black")
  329. --Weld = Instance.new("Weld", char)
  330. --Weld.Part0 = char["Left Arm"]
  331. --Weld.Part1 = Shield
  332. --Weld.C1 = CFrame.new(0,.0,.5)*CFrame.Angles(0,(-80.5),110)
  333. -----------------------tail----------------------
  334. --tail = Instance.new("Part", char)
  335. --tail.Size = Vector3.new(.5,.5,.5)
  336. --tailmesh = Instance.new("SpecialMesh", tail)
  337. --tailmesh.MeshId = "rbxassetid://591111070"
  338. --tailmesh.Scale = Vector3.new(.005,.0051,.0071)
  339. --tailmesh.TextureId = "rbxassetid://591111076"
  340. --tail.Transparency = 0
  341. --tail.CanCollide = false
  342. --tail.Name = "plrtail"
  343. --tail.Anchored = false
  344. --tail.BrickColor = BrickColor.new("Really black")
  345. --Weld = Instance.new("Weld", char)
  346. --Weld.Part0 = char["Right Arm"]
  347. --Weld.Part1 = tail
  348. --Weld.C1 = CFrame.new(1,-2,.2)*CFrame.Angles(90,(0),80)
  349. for _, a in pairs(char:children()) do
  350. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  351. a:Destroy()
  352. end
  353. end
  354. local s = Instance.new('Shirt', char)
  355. s.ShirtTemplate = "rbxassetid://1686063309"
  356. local p = Instance.new('Pants', char)
  357. p.PantsTemplate = "rbxassetid://1653197622"
  358.  
  359.  
  360. char.Humanoid.Health = math.huge
  361. Instance.new("ForceField",char).Visible = false
  362. ------------------------------------------------------------------------
  363. -- Lightning --
  364. ------------------------------------------------------------------------
  365.  
  366. Part0 = Instance.new("Part")
  367. ParticleEmitter1 = Instance.new("ParticleEmitter")
  368. Part0.Name = "lightning"
  369. Part0.Parent = nil
  370. Part0.Transparency = 1
  371. Part0.FormFactor = Enum.FormFactor.Symmetric
  372. Part0.Size = Vector3.new(0.820000052, 1.76999962, 2)
  373. Part0.CFrame = CFrame.new(26.3400002, 0.884999812, 44.9500122, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  374. Part0.Position = Vector3.new(26.3400002, 0.884999812, 44.9500122)
  375. ParticleEmitter1.Name = "Lightning"
  376. ParticleEmitter1.Parent = Part0
  377. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  378. ParticleEmitter1.Size = NumberSequence.new(1.0429447889328,3.3742332458496,0,3.3435583114624,0,3.3742332458496,0,3.6503071784973,0.030674934387207,3.7730062007904,0,3.8036811351776,0,3.8343560695648,0,3)
  379. ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
  380. ParticleEmitter1.LightEmission = 1
  381. ParticleEmitter1.Texture = "http://www.roblox.com/asset/?id=243098098"
  382. ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
  383. ParticleEmitter1.Rate = 12312311808
  384. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  385. ParticleEmitter1.Enabled = true
  386. ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
  387.  
  388. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
  389. local magz = (Part0 - Part1).magnitude
  390. local curpos = Part0
  391. local trz = {-Offset,Offset}
  392. for i=1,Times do
  393. local li = Instance.new("Part", torso)
  394. li.Name = "Lightning"
  395. li.TopSurface =0
  396. li.Material = "Neon"
  397. li.BottomSurface = 0
  398. li.Anchored = true
  399. li.Locked = true
  400. li.Transparency = Trans or 0.4
  401. li.BrickColor = BrickColor.new(Color)
  402. li.formFactor = "Custom"
  403. li.CanCollide = false
  404. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  405. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  406. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  407.  
  408. if Times == i then
  409. local magz2 = (curpos - Part1).magnitude
  410. li.Size = Vector3.new(Thickness,Thickness,magz2)
  411. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  412. else
  413. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  414. end
  415.  
  416. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  417. game.Debris:AddItem(li,.1)
  418. end
  419. end
  420.  
  421. BodyParts = {}
  422. Bounding = {}
  423. --table.insert(BodyParts, fx)
  424.  
  425. for _, v in pairs(BodyParts) do
  426. local temp = {X=nil, Y=nil, Z=nil}
  427. temp.X = v.Size.X/2 * 10
  428. temp.Y = v.Size.Y/2 * 10
  429. temp.Z = v.Size.Z/2 * 10
  430. Bounding[v.Name] = temp
  431. end
  432.  
  433. spawn(function()
  434. while wait(math.random(1,7)/10) do
  435. if #BodyParts ~= 0 and #Bounding ~= 0 then
  436. local Body1 = BodyParts[math.random(#BodyParts)]
  437. local Body2 = BodyParts[math.random(#BodyParts)]
  438. local Pos1 = Vector3.new(
  439. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  440. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  441. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  442. )
  443. local Pos2 = Vector3.new(
  444. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  445. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  446. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  447. )
  448. local SPos1 = Body1.Position + Pos1
  449. local SPos2 = Body2.Position + Pos2
  450. Lightning(SPos1, SPos2, 4, 3, "Cyan", .3, .56)
  451. end
  452. end
  453. end)
  454.  
  455. ------------------------------------------------------------------------
  456. -- Keys --
  457. ------------------------------------------------------------------------
  458.  
  459. using = false
  460.  
  461. function weldhammer()
  462. hammer.Anchored = false
  463. hammer.CanCollide = false
  464. grab:Play()
  465. weld = Instance.new('Weld', hammer)
  466. weld.Part0 = rarm
  467. weld.Part1 = hammer
  468. weld.C0 = CFrame.new(0, -0.6, -0.7) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90))
  469. end
  470.  
  471. function gethammer()
  472. if (fakearm.Position - hammer.Position).magnitude >= 15 then
  473. stopanim = true
  474. using = true
  475. hammer.CanCollide = false
  476. hammer.Anchored = true
  477. wind:Play()
  478.  
  479. -- a = hammer.Touched:connect(function(hit)
  480. -- if hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then
  481. -- ghit:Play()
  482. -- if hit.Parent:FindFirstChildOfClass'Humanoid'.MaxHealth <= 100 and hit.Parent:FindFirstChild'HumanoidRootPart' then
  483. -- hit.Parent:FindFirstChildOfClass'Humanoid':TakeDamage(hit.Parent:FindFirstChildOfClass'Humanoid'.MaxHealth/2/2/2)
  484. -- elseif not hit.Parent:FindFirstChildOfClass'Humanoid'.MaxHealth <= 100 then
  485. -- hit.Parent:BreakJoints''
  486. -- elseif hit:IsA'Part' or hit:IsA'MeshPart' or hit:IsA'BasePart' or hit:IsA'UnionOperation' then
  487. -- hit.Anchored = false
  488. -- bv = Instance.new('BodyVelocity', hit)
  489. -- bv.MaxForce = Vector3.new(2e9, 2e9, 2e9)
  490. -- bv.Velocity = -hit.CFrame.lookVector * 50
  491. -- game:service'Debris':AddItem(bv, 0.2)
  492. -- end
  493. -- end
  494. -- end)
  495.  
  496. for i = 0,4 do
  497. wait()
  498. rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(140)), .1)
  499. end
  500. repeat wait()
  501. hammer.CFrame = clerp(hammer.CFrame, fakearm.CFrame * CFrame.new(0, -0.6, 0) * CFrame.Angles(0, math.rad(180), math.rad(90)), .1)
  502. if (fakearm.Position - hammer.Position).magnitude >= 3 then
  503. wind.Volume = 3
  504. else
  505. wind.Volume = (fakearm.Position - hammer.Position).magnitude
  506. end
  507. until (fakearm.Position - hammer.Position).magnitude <= .7
  508.  
  509. a:disconnect()
  510. hammer.Anchored = false
  511. hammer.CanCollide = false
  512. weldhammer()
  513. wind:Stop()
  514. wait(.3)
  515. stopanim = false
  516. using = false
  517. end
  518. end
  519.  
  520. function drophammer()
  521. a = hammer.Touched:connect(function(hit)
  522. if not hit.Parent:FindFirstChildOfClass'Humanoid' then
  523. drop:Play()
  524. wait(1)
  525. hammer.Anchored = true
  526. a:disconnect()
  527. end
  528. end)
  529.  
  530. hammer.Anchored = false
  531. for _, a in pairs(hammer:children'') do
  532. if a:IsA'Weld' then
  533. a:Destroy''
  534. end
  535. end
  536. hammer.CanCollide = true
  537. end
  538.  
  539. function attacktargets()
  540. if #targets >= 1 and holding then
  541. using = true
  542. hum.WalkSpeed = 0
  543. hum.JumpPower = 0
  544.  
  545. for i = 1,75 do
  546. swait()
  547. larm.Weld.C0 = clerp(larm.Weld.C0, larm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(math.rad(91), math.rad(-6), math.rad(-19)), 0.1)
  548. rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(-math.rad(-165), math.rad(0), math.rad(0)), 0.1)
  549. end
  550. hum.WalkSpeed = 16
  551. hum.JumpPower = 50
  552. hammer.Anchored = true
  553. for _, a in pairs(hammer:children'') do
  554. if a:IsA'Weld' then
  555. a:Destroy''
  556. end
  557. end
  558. hammer.CanCollide = false
  559. holding = false
  560. for _, a in pairs(targets) do
  561. ttorso = gettorso(a)
  562. if a ~= nil and gettorso(a) and a:FindFirstChildOfClass'Humanoid' then
  563. repeat wait() a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 5 hammer.CFrame = clerp(hammer.CFrame, ttorso.CFrame * CFrame.Angles(0, math.rad(ttorso.CFrame.lookVector.Y), 0), 0.1) until (hammer.Position - ttorso.Position).magnitude <= 6
  564. a:BreakJoints''
  565. ghit:Play()
  566. end
  567. end
  568. for _, a in pairs(rotate) do
  569. if a ~= nil then
  570. a:Destroy''
  571. end
  572. end
  573. targets = {}
  574. rotate = {}
  575. hammer.CanCollide = false
  576.  
  577.  
  578.  
  579. stopanim = true
  580. hammer.CanCollide = false
  581. hammer.Anchored = true
  582. wind:Play()
  583.  
  584. for i = 0,4 do
  585. wait()
  586. rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(140)), .1)
  587. end
  588. repeat wait()
  589. hammer.CFrame = clerp(hammer.CFrame, fakearm.CFrame * CFrame.new(0, -0.6, 0) * CFrame.Angles(0, math.rad(180), math.rad(90)), .13)
  590. if (fakearm.Position - hammer.Position).magnitude >= 3 then
  591. wind.Volume = 3
  592. else
  593. wind.Volume = (fakearm.Position - hammer.Position).magnitude
  594. end
  595. until (fakearm.Position - hammer.Position).magnitude <= .7
  596.  
  597. hammer.Anchored = false
  598. hammer.CanCollide = false
  599. weldhammer()
  600. wind:Stop()
  601. holding = true
  602. wait(.3)
  603. stopanim = false
  604. using = false
  605. end
  606. end
  607.  
  608. function bgrab()
  609. for _, a in pairs(workspace:children'') do
  610. if a:FindFirstChildOfClass'Humanoid' and gettorso(a) and a.Name ~= plr.Name then
  611. ttorso = gettorso(a)
  612. if (ttorso.Position - rutprt.Position).magnitude <= 3 then
  613. using = true
  614. target2 = a
  615. stopanim2 = true
  616. target:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0
  617. target:FindFirstChildOfClass'Humanoid'.JumpPower = 0
  618. hum.WalkSpeed = 0
  619. hum.JumpPower = 0
  620. for i = 0,25 do
  621. swait()
  622. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5,.525,0) * CFrame.Angles(math.rad(100), math.rad(20), math.rad(20)), 0.1)
  623. end
  624. weld = Instance.new('Weld', rutprt)
  625. weld.Part0 = rutprt
  626. weld.Part1 = ttorso
  627. weld.C0 = CFrame.new(-0.5, 0, -1.2)
  628.  
  629. wait(.1)
  630.  
  631.  
  632. ttorso.Anchored = true
  633. b = Instance.new('Part', char)
  634. b.Anchored = true
  635. b.CanCollide = false
  636. b.Transparency = 1
  637. b.CFrame = hed.CFrame
  638. b.Position = hed.Position + Vector3.new(0, 50, 0) + hed.CFrame.lookVector * 500
  639.  
  640. d = Instance.new('Part', char)
  641. d.Anchored = true
  642. d.CanCollide = false
  643. d.Transparency = 1
  644. d.CFrame = hed.CFrame
  645. d.Position = hed.Position - Vector3.new(0, 5.6, 0) + hed.CFrame.lookVector * -45
  646.  
  647. wait(.5)
  648. for i = 1,75 do
  649. swait()
  650. rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(-math.rad(-165), math.rad(0), math.rad(0)), 0.1)
  651. end
  652. drophammer()
  653. wind:Play()
  654.  
  655. repeat wait()
  656. hammer.Anchored = true
  657. hammer.CFrame = clerp(hammer.CFrame, b.CFrame, 0.1)
  658. wind.Volume = (hammer.Position - d.Position).magnitude
  659. until (hammer.Position - b.Position).magnitude <= 5
  660.  
  661. repeat wait()
  662. hammer.Anchored = true
  663. hammer.CFrame = clerp(hammer.CFrame, d.CFrame, 0.1)
  664. wind.Volume = (hammer.Position - d.Position).magnitude
  665. until (hammer.Position - d.Position).magnitude <= 45
  666.  
  667. target2:BreakJoints''
  668. ghit:Play()
  669. wind:Stop()
  670. wait(.1)
  671. stopanim2 = false
  672. hum.WalkSpeed = 16
  673. hum.JumpPower = 50
  674. b:Destroy''
  675. d:Destroy''
  676. hammer.Anchored = false
  677. weldhammer()
  678. grab:Play()
  679. using = false
  680. end
  681. end
  682. end
  683. end
  684.  
  685. function shield()
  686. using = true
  687. hum.WalkSpeed = 0
  688. hum.JumpPower = 0
  689. for i = 1,75 do
  690. swait()
  691. larm.Weld.C0 = clerp(larm.Weld.C0, larm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(math.rad(91), math.rad(-6), math.rad(-19)), 0.1)
  692. rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(-math.rad(-165), math.rad(0), math.rad(0)), 0.1)
  693. end
  694. hum.WalkSpeed = 16
  695. hum.JumpPower = 50
  696. drophammer()
  697. hammer.Anchored = true
  698. hammer.CanCollide = true
  699. using = false
  700. end
  701.  
  702. function stopshield()
  703. gethammer()
  704. end
  705.  
  706. --function transform()
  707. -- stopanim = true
  708. -- stopanim3 = true
  709. -- hum.WalkSpeed = 0
  710. -- hum.JumpPower = 0
  711. -- for i = 0,7 do
  712. -- wait()
  713. -- hammer.Weld.C0 = clerp(hammer.Weld.C0, CFrame.new(0, -2.5, -0.7) * CFrame.Angles(math.rad(-85), math.rad(180), math.rad(90)), 0.1)
  714. -- rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(-math.rad(-179), math.rad(0), math.rad(15)), 0.1)
  715. -- hed.Weld.C0 = clerp(hed.Weld.C0, hed.Weld.C0 * CFrame.new(0,0,0.2)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.1)
  716. -- end
  717. -- a = Instance.new('Part', char)
  718. -- a.Name = "hello"
  719. -- a.Size = Vector3.new(0.2, 0.2, 0.2)
  720. -- a.Anchored = true
  721. -- a.CanCollide = false
  722. -- a.Position = hammer.Position + Vector3.new(0, 75, 0)
  723. --
  724. -- wait(3)
  725. -- table.insert(BodyParts, fx)
  726. -- wait(4)
  727. --
  728. -- spawn(function()
  729. -- for i = 0,45 do
  730. -- swait()
  731. -- hammer.Weld.C0 = clerp(hammer.Weld.C0, CFrame.new(0, -0.6, -0.7) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.07)
  732. -- end
  733. -- end)
  734. --
  735. -- hum.WalkSpeed = 16
  736. -- hum.JumpPower = 50
  737. -- stopanim = false
  738. -- stopanim3 = false
  739. --end
  740.  
  741. ------------------------------------------------------------------------
  742. -- Target --
  743. ------------------------------------------------------------------------
  744.  
  745. bg = Instance.new('BillboardGui', plr.PlayerGui)
  746. bg.Size = UDim2.new(15, 0, 15, 0)
  747. bg.AlwaysOnTop = true
  748. il = Instance.new('ImageLabel', bg)
  749. il.Image = "rbxassetid://142406345"
  750. il.BackgroundTransparency = 1
  751. il.Size = UDim2.new(1, 0, 1, 0)
  752. il.ImageColor3 = Color3.new(0,0,0)
  753.  
  754. home = false
  755. down = false
  756. barrier = false
  757. targets = {}
  758. rotate = {}
  759.  
  760. mouse.KeyDown:connect(function(k)
  761. key = k:lower()
  762. if key == "g" and not barrier and not using then
  763. attacktargets()
  764. end
  765.  
  766. if key == "e" and not cooldown and not barrier and not using then
  767. cooldown = true
  768. if not holding and (fakearm.Position - hammer.Position).magnitude >= 15 then
  769. holding = true
  770. gethammer()
  771. elseif holding then
  772. holding = false
  773. drophammer()
  774. end
  775. wait(.3)
  776. cooldown = false
  777. end
  778.  
  779. if key == "q" and not cooldown and holding and not barrier and not using then
  780. cooldown = true
  781. using = true
  782. hum.WalkSpeed = 0
  783. hum.JumpPower = 0
  784. for i = 1,75 do
  785. swait()
  786. larm.Weld.C0 = clerp(larm.Weld.C0, larm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(math.rad(91), math.rad(-6), math.rad(-19)), 0.1)
  787. rarm.Weld.C0 = clerp(rarm.Weld.C0, rarm.Weld.C0 * CFrame.new(0,0,0)*CFrame.Angles(-math.rad(-165), math.rad(0), math.rad(0)), 0.1)
  788. end
  789. hum.WalkSpeed = 16
  790. hum.JumpPower = 50
  791. holding = false
  792. drophammer()
  793. for i = 1,25 do
  794. wait()
  795. hammer.CFrame = clerp(hammer.CFrame, CFrame.new(9999,0,9999), 0.1)
  796. end
  797. wait(.5)
  798. cooldown = false
  799. using = false
  800. end
  801.  
  802. if key == "f" and holding and not cooldown and not barrier and not using then
  803. cooldown = true
  804. bgrab()
  805. wait(.2)
  806. cooldown = false
  807. end
  808.  
  809. if key == "v" and holding and not using then
  810. if not barrier then
  811. shield()
  812. barrier = true
  813. else
  814. barrier = false
  815. stopshield()
  816. end
  817. end
  818. end)
  819.  
  820. mouse.Button1Down:connect(function()
  821. if home and holding then
  822. clone = bg:clone()
  823. clone.Parent = plr.PlayerGui
  824. clone.ImageLabel.ImageColor3 = Color3.new(255,255,255)
  825. clone.Name = "hi"
  826. if gettorso(mouse.Target.Parent) then
  827. clone.Adornee = gettorso(mouse.Target.Parent)
  828. table.insert(targets, mouse.Target.Parent)
  829. table.insert(rotate, clone)
  830. elseif not gettorso(mouse.Target.Parent) then
  831. clone:Destroy''
  832. end
  833. end
  834. end)
  835.  
  836. spawn(function()
  837. while wait() do
  838.  
  839. il.Rotation = il.Rotation + 5
  840. if holding and mouse.Target and mouse.Target.Parent and gettorso(mouse.Target.Parent) and mouse.Target.Parent:FindFirstChildOfClass'Humanoid' and mouse.Target.Parent:FindFirstChildOfClass'Humanoid'.Health ~= 0 then
  841. target = mouse.Target.Parent
  842.  
  843. home = true
  844. il.ImageTransparency = 0
  845. bg.Adornee = gettorso(target)
  846. elseif not mouse.Target then
  847. il.ImageTransparency = 1
  848. home = false
  849. elseif not mouse.Target.Parent then
  850. il.ImageTransparency = 1
  851. home = false
  852. elseif not mouse.Target.Parent:FindFirstChildOfClass'Humanoid' then
  853. il.ImageTransparency = 1
  854. home = false
  855. end
  856.  
  857. end
  858. end)
  859.  
  860. spawn(function()
  861. while wait() do
  862. for _, a in pairs(rotate) do
  863. if a ~= nil then
  864. a.ImageLabel.Rotation = a.ImageLabel.Rotation + 5
  865. elseif targets <= 0 then
  866. a:Destroy''
  867. end
  868. end
  869. end
  870. end)
  871.  
  872. ------------------------------------------------------------------------
  873. -- Manual Pickup --
  874. ------------------------------------------------------------------------
  875.  
  876. hammer.Touched:connect(function(hit)
  877. if not holding and not using and hammer.Anchored and hit.Parent.Name == plr.Name then
  878. holding = true
  879. hammer.Anchored = false
  880. hammer.CanCollide = false
  881. weldhammer()
  882. end
  883. end)
  884.  
  885. ------------------------------------------------------------------------
  886. -- Important functions --
  887. ------------------------------------------------------------------------
  888.  
  889. died = false
  890.  
  891. function swait(num)
  892. if num == 0 or num == nil then
  893. game:service("RunService").Stepped:wait(0)
  894. else
  895. for i = 0, num do
  896. game:service("RunService").Stepped:wait(0)
  897. end
  898. end
  899. end
  900.  
  901. spawn(function()
  902. while wait() do
  903. if holding and hammer:FindFirstChildOfClass'Weld' then
  904. hammer.Anchored = false
  905. end
  906. end
  907. end)
  908.  
  909. x = 0
  910. spawn(function()
  911. while wait() do
  912. if barrier then
  913. x = x + 0.6
  914. hammer.CFrame = rutprt.CFrame * CFrame.Angles(0,0.1-x,0) * CFrame.new(25,0,0)
  915.  
  916. for _, a in pairs(workspace:children'') do
  917. ttorso = gettorso(a)
  918. if a:FindFirstChildOfClass'Humanoid' and a:FindFirstChildOfClass'Humanoid'.Health ~= 0 and a.Name ~= plr.Name and gettorso(a) and (ttorso.Position - hammer.Position).magnitude <= 15 then
  919. a:BreakJoints''
  920. ghit:Play()
  921. elseif a:FindFirstChildOfClass'Humanoid' and not gettorso(a) then
  922. a:BreakJoints''
  923. end
  924. end
  925.  
  926. for _, a in pairs(workspace:children'') do
  927. ttorso = gettorso(a)
  928. if a:FindFirstChildOfClass'Humanoid' and a:FindFirstChildOfClass'Humanoid'.Health ~= 0 and a.Name ~= plr.Name and gettorso(a) and (ttorso.Position - rutprt.Position).magnitude <= 10 then
  929. a:BreakJoints''
  930. ghit:Play()
  931. elseif a:FindFirstChildOfClass'Humanoid' and not a:FindFirstChild'HumanoidRootPart' then
  932. a:BreakJoints''
  933. end
  934. end
  935.  
  936. if x == 1 then
  937. x = 0.1
  938. end
  939. end
  940. end
  941. end)
  942.  
  943. ------------------------------------------------------------------------
  944. -- Animations --
  945. ------------------------------------------------------------------------
  946.  
  947. while true do
  948. swait()
  949.  
  950. if holding then
  951. gyro.Parent = nil
  952. elseif not holding then
  953. gyro.Parent = hammer
  954. gyro.Name = "hamma"
  955. end
  956.  
  957. ypcall(function()
  958. if anim~=lastanim then
  959. runtime=0
  960. end
  961. lastanim=anim
  962. hum.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  963. syne=syne+.95
  964. if not otheranims and not swimming then
  965. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not hum.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  966. anim="Idling"
  967. elseif hum.FloorMaterial ~= Enum.Material.Air and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not hum.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  968. anim="Walking"
  969. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not hum.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  970. anim="Sprinting"
  971. elseif torso.Velocity.y < -1 then
  972. anim='Falling'
  973. end
  974. end
  975.  
  976. if anim=="Idling" and hum.WalkSpeed ~= 0 then
  977. idlesineinc=35
  978.  
  979. if not stopanim then
  980. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.55+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(1),math.rad(0),math.rad(6)),.1)
  981. end
  982.  
  983. if not stopanim2 then
  984. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.55+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(0),0,math.rad(-6)),.1)
  985. end
  986.  
  987. if not stopanim3 then
  988. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  989. end
  990.  
  991. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  992. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  993. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  994. end
  995.  
  996. if anim=="Walking" and hum.WalkSpeed ~= 0 then
  997. if not stopanim then
  998. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
  999. end
  1000.  
  1001. if not stopanim2 then
  1002. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1003. end
  1004.  
  1005. if not stopanim3 then
  1006. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1007. end
  1008.  
  1009. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1010. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1011. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1012. end
  1013.  
  1014. if hum.WalkSpeed == 0 then
  1015. if not stopanim then
  1016. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.55+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(1),math.rad(0),math.rad(6)),.1)
  1017. end
  1018.  
  1019. if not stopanim2 then
  1020. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.55+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(0),0,math.rad(-6)),.1)
  1021. end
  1022.  
  1023. if not stopanim3 then
  1024. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1025. end
  1026.  
  1027. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1028. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1029. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1030. end
  1031.  
  1032. if 1 < rutprt.Velocity.y and hum.FloorMaterial == Enum.Material.Air and hum.JumpPower ~= 0 then
  1033. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.065)
  1034. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.1)
  1035. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.1)
  1036. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.1)
  1037. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  1038. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  1039. elseif -1 > rutprt.Velocity.y and hum.FloorMaterial == Enum.Material.Air then
  1040. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.065)
  1041. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.06)
  1042. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.06)
  1043. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.06)
  1044. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.06)
  1045. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.06)
  1046. end
  1047. end)
  1048. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement