ManOhMan

Untitled

Jun 22nd, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. --When'sWaifu
  87. wait(0.2)
  88. print("Hey!!!")
  89. print("You Pervert!!!")
  90. local hoh = owner
  91. local char = hoh.Character
  92. local Head = char.Head
  93. local LeftArm = char["Left Arm"]
  94. local RightArm = char["Right Arm"]
  95. local LeftLeg = char["Left Leg"]
  96. local RightLeg = char["Right Leg"]
  97. local cam = game.Workspace.CurrentCamera
  98. local RootPart = char.HumanoidRootPart
  99. local RootJoint = RootPart.RootJoint
  100. local Anim = "Idle"
  101. local idle = 0
  102. local Effects = {}
  103. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  104. vt = Vector3.new
  105. local cf = CFrame.new
  106. local mr = math.rad
  107. local angles = CFrame.Angles
  108. local ud = UDim2.new
  109. local c3 = Color3.new
  110. local velocity = RootPart.Velocity.y
  111. local sine = 0
  112. local change = 1
  113. local grabbed = false
  114. local cn = CFrame.new
  115. local mr = math.rad
  116. local angles = CFrame.Angles
  117. local ud = UDim2.new
  118. local c3 = Color3.new
  119. local d = Instance.new('Model', char)
  120. d.Name = "KKK"
  121. attack = false
  122. nak = false
  123. disable = false
  124. attacktype = 1
  125. equipped = false
  126. char.Humanoid.Animator.Parent = nil
  127. char.Animate.Parent = nil
  128. local newMotor = function(part0, part1, c0, c1)
  129. local w = Instance.new("Motor", part0)
  130. w.Part0 = part0
  131. w.Part1 = part1
  132. w.C0 = c0
  133. w.C1 = c1
  134. return w
  135. end
  136. clerp = function(a, b, t)
  137.  
  138. return a:lerp(b, t)
  139. end
  140.  
  141. for i,v in pairs(char:children()) do
  142. if v:IsA("Hat") then
  143. v:Destroy()
  144. end
  145. for i,v in pairs(char:children()) do
  146. if v:IsA("Accessory") then
  147. v:Destroy()
  148. end
  149. for i,v in pairs(char:children()) do
  150. if v:IsA("ShirtGraphic") then
  151. v:Destroy()
  152. end
  153. end
  154. end
  155. end
  156.  
  157. ypcall(function()
  158. char.Torso.roblox:Remove()
  159. char.Shirt:Destroy()
  160. char.Pants:Destroy()
  161. char.Head.face:Destroy()
  162. shirt = Instance.new("Shirt", char)
  163. shirt.Name = "Shirt"
  164. Pants = Instance.new("Pants", char)
  165. Pants.Name = "Pants"
  166. face = Instance.new("Decal", char.Head)
  167. face.Name = "face"
  168. char.Shirt.ShirtTemplate = "rbxassetid://251988595"
  169. char.Pants.PantsTemplate = "rbxassetid://324421595"
  170. char.Head.face.Texture = "rbxassetid://648887959"
  171. end)
  172. function CreateSound(id, par, vol, pit)
  173. coroutine.resume(coroutine.create(function()
  174. local sou = Instance.new("Sound", par or workspace)
  175. sou.Volume = vol
  176. sou.Pitch = pit or 1
  177. sou.SoundId = id
  178. wait()
  179. sou:play()
  180. game:GetService("Debris"):AddItem(sou, 6)
  181. end))
  182. end
  183. New = function(Object, Parent, Name, Data)
  184. local Object = Instance.new(Object)
  185. for Index, Value in pairs(Data or {}) do
  186. Object[Index] = Value
  187. end
  188. Object.Parent = Parent
  189. Object.Name = Name
  190. return Object
  191. end
  192.  
  193.  
  194. local co1 = 5
  195. local co2 = 8
  196. local co3 = 10
  197. local co4 = 25
  198. local cooldown1 = 0
  199. local cooldown2 = 0
  200. local cooldown3 = 0
  201. local cooldown4 = 0
  202. local skillcolorscheme = BrickColor.new("Navy blue").Color
  203. local scrn = Instance.new("ScreenGui", hoh.PlayerGui)
  204. makeframe = function(par, trans, pos, size, color)
  205.  
  206. local frame = Instance.new("Frame", par)
  207. frame.BackgroundTransparency = trans
  208. frame.BorderSizePixel = 0
  209. frame.Position = pos
  210. frame.Size = size
  211. frame.BackgroundColor3 = color
  212. return frame
  213. end
  214.  
  215. makelabel = function(par, text)
  216.  
  217. local label = Instance.new("TextLabel", par)
  218. label.BackgroundTransparency = 1
  219. label.Size = UDim2.new(1, 0, 1, 0)
  220. label.Position = UDim2.new(0, 0, 0, 0)
  221. label.TextColor3 = Color3.new(255, 255, 0)
  222. label.TextStrokeTransparency = 0
  223. label.FontSize = Enum.FontSize.Size32
  224. label.Font = Enum.Font.SourceSansLight
  225. label.BorderSizePixel = 0
  226. label.TextScaled = true
  227. label.Text = text
  228. end
  229.  
  230. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  231. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  232. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  233. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  234. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  235. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  236. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  237. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  238. text1 = Instance.new("TextLabel", framesk1)
  239. text1.BackgroundTransparency = 1
  240. text1.Size = UDim2.new(1, 0, 1, 0)
  241. text1.Position = UDim2.new(0, 0, 0, 0)
  242. text1.TextColor3 = Color3.new(255, 255, 0)
  243. text1.TextStrokeTransparency = 0
  244. text1.FontSize = Enum.FontSize.Size18
  245. text1.Font = Enum.Font.SourceSansLight
  246. text1.BorderSizePixel = 0
  247. text1.TextScaled = true
  248. text1.Text = "[Z]\n honk"
  249. text2 = Instance.new("TextLabel", framesk2)
  250. text2.BackgroundTransparency = 1
  251. text2.Size = UDim2.new(1, 0, 1, 0)
  252. text2.Position = UDim2.new(0, 0, 0, 0)
  253. text2.TextColor3 = Color3.new(255, 255, 0)
  254. text2.TextStrokeTransparency = 0
  255. text2.FontSize = Enum.FontSize.Size18
  256. text2.Font = Enum.Font.SourceSansLight
  257. text2.BorderSizePixel = 0
  258. text2.TextScaled = true
  259. text2.Text = "[X]\n idk"
  260. text3 = Instance.new("TextLabel", framesk3)
  261. text3.BackgroundTransparency = 1
  262. text3.Size = UDim2.new(1, 0, 1, 0)
  263. text3.Position = UDim2.new(0, 0, 0, 0)
  264. text3.TextColor3 = Color3.new(255, 255, 0)
  265. text3.TextStrokeTransparency = 0
  266. text3.FontSize = Enum.FontSize.Size18
  267. text3.Font = Enum.Font.SourceSansLight
  268. text3.BorderSizePixel = 0
  269. text3.TextScaled = false
  270. text3.Text = "[C]\n aaaaa"
  271. text4 = Instance.new("TextLabel", framesk4)
  272. text4.BackgroundTransparency = 1
  273. text4.Size = UDim2.new(1, 0, 1, 0)
  274. text4.Position = UDim2.new(0, 0, 0, 0)
  275. text4.TextColor3 = Color3.new(255, 255, 0)
  276. text4.TextStrokeTransparency = 0
  277. text4.FontSize = Enum.FontSize.Size18
  278. text4.Font = Enum.Font.SourceSansLight
  279. text4.BorderSizePixel = 0
  280. text4.TextScaled = true
  281. text4.Text = "[V]\n kil me"
  282.  
  283. ArtificialHB = Instance.new("BindableEvent", hoh.PlayerGui)
  284. ArtificialHB.Name = "Heartbeat"
  285. hoh.PlayerGui:WaitForChild("Heartbeat")
  286. frame = 0.033333333333333
  287. tf = 0
  288. allowframeloss = false
  289. tossremainder = false
  290. lastframe = tick()
  291. hoh.PlayerGui.Heartbeat:Fire()
  292. local gg = false
  293. game:GetService("RunService").Heartbeat:connect(function(s, p)
  294.  
  295. if hoh.PlayerGui:FindFirstChild("Heartbeat") == nil then
  296. gg = true
  297. end
  298. if gg == true then
  299. return
  300. end
  301. tf = tf + s
  302. if frame <= tf then
  303. if allowframeloss then
  304. hoh.PlayerGui.Heartbeat:Fire()
  305. lastframe = tick()
  306. else
  307. for i = 1, math.floor(tf / frame) do
  308. hoh.PlayerGui.Heartbeat:Fire()
  309. end
  310. lastframe = tick()
  311. end
  312. if tossremainder then
  313. tf = 0
  314. else
  315. tf = tf - frame * math.floor(tf / frame)
  316. end
  317. end
  318. end
  319. )
  320. swait = function(num)
  321.  
  322. if num == 0 or num == nil then
  323. ArtificialHB.Event:wait()
  324. else
  325. for i = 0, num do
  326. ArtificialHB.Event:wait()
  327. end
  328. end
  329. end
  330. local RbxUtility = LoadLibrary("RbxUtility")
  331. local Create = RbxUtility.Create
  332. RemoveOutlines = function(part)
  333.  
  334. part.TopSurface = 10
  335. end
  336. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  337.  
  338. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  339. RemoveOutlines(Part)
  340. return Part
  341. end
  342.  
  343. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  344.  
  345. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  346. if Mesh == "SpecialMesh" then
  347. Msh.MeshType = MeshType
  348. Msh.MeshId = MeshId
  349. end
  350. return Msh
  351. end
  352.  
  353. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  354.  
  355. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  356. return Weld
  357. end
  358.  
  359. CFuncs = {
  360. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  361.  
  362. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  363. RemoveOutlines(Part)
  364. return Part
  365. end
  366. }
  367. ,
  368. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  369.  
  370. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  371. if Mesh == "SpecialMesh" then
  372. Msh.MeshType = MeshType
  373. Msh.MeshId = MeshId
  374. end
  375. return Msh
  376. end
  377. }
  378. ,
  379. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  380.  
  381. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  382. if Mesh == "SpecialMesh" then
  383. Msh.MeshType = MeshType
  384. Msh.MeshId = MeshId
  385. end
  386. return Msh
  387. end
  388. }
  389. ,
  390. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  391.  
  392. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  393. return Weld
  394. end
  395. }
  396. ,
  397. Sound = {Create = function(id, par, vol, pit)
  398.  
  399. coroutine.resume(coroutine.create(function()
  400.  
  401. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  402. wait()
  403. S:play()
  404. game:GetService("Debris"):AddItem(S, 6)
  405. end
  406. ))
  407. end
  408. }
  409. ,
  410. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  411.  
  412. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  413. return fp
  414. end
  415. }
  416. }
  417.  
  418.  
  419.  
  420. rayCast = function(Position, Direction, Range, Ignore)
  421.  
  422. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  423. end
  424.  
  425. local GetNearest = function(obj, distance)
  426.  
  427. local last, lastx = distance + 1, nil
  428. for i,v in pairs(workspace:GetChildren()) do
  429. if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  430. local t = v.Torso
  431. local dist = (t.Position - obj.Position).magnitude
  432. if dist <= distance and dist < last then
  433. last = dist
  434. lastx = v
  435. end
  436. end
  437. end
  438. return lastx
  439. end
  440.  
  441.  
  442. --[[armweld = Instance.new("Weld", char.Torso)
  443. armweld.C0 = CFrame.new(1.5, .5, 0)
  444. armweld.C1 = CFrame.new(0, .5, 0)
  445. armweld.Part0 = char.Torso
  446. armweld.Part1 = char["Right Arm"]]
  447.  
  448. local Fhead = Instance.new("Part", char)
  449. Fhead.Name = "a"
  450. Fhead.Size = Vector3.new(2, 1, 1)
  451. Fhead.Transparency = 1
  452. Fhead.CanCollide = false
  453. M = Instance.new("SpecialMesh", Fhead)
  454. M.Scale = Vector3.new(1.26,1.26,1.26)
  455. Das = Instance.new("Decal", Fhead)
  456. Das.Texture = "rbxassetid://660774132"
  457. Das.Transparency = 1
  458.  
  459.  
  460. local har1 = Instance.new("Part", char.Head)
  461. har1.BrickColor = BrickColor.new("Brown")
  462. har1.Name = "Hair"
  463. har1.formFactor = 0
  464. har1.Size = Vector3.new(0,-0.25,0)
  465. har1.BottomSurface = 0
  466. har1.TopSurface = 0
  467. har1.CanCollide = false
  468. Mesh = Instance.new("SpecialMesh",har1)
  469. Mesh.MeshId = "http://www.roblox.com/asset/?id=13070796"
  470. Mesh.TextureId = "http://www.roblox.com/asset/?id=13694600"
  471. Mesh.Scale=Vector3.new(1.01, .99, 1.01)
  472. local bWeld = Instance.new("Weld", char.Head)
  473. bWeld.Part0 = char.Head
  474. bWeld.Part1 = har1
  475. bWeld.C1 = CFrame.new(0,.4,0)
  476.  
  477.  
  478. local main = Instance.new("Part", char.Torso)
  479. main.Size = Vector3.new(.1, .1, .1)
  480. main.BrickColor = BrickColor.new("White")
  481. main.TopSurface = "SmoothNoOutlines"
  482. main.Name = "asd"
  483. main.Transparency = 1
  484. main.CanCollide = false
  485.  
  486. local Handle = Instance.new("Part",d)
  487. Handle.Size = Vector3.new(0.3, 1.8, 3)
  488. Handle.Name = "Pan"
  489. Handle:BreakJoints()
  490. Handle.Anchored = false
  491. Handle.Transparency = 1
  492. Handle.CanCollide = false
  493. Handle.Shape = "Block"
  494. Handle.TopSurface = "SmoothNoOutlines"
  495. Handle.BottomSurface = "SmoothNoOutlines"
  496. ddd = Instance.new("SpecialMesh",Handle)
  497. ddd.Scale=Vector3.new(2, 2, 2)
  498. ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
  499. ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
  500. local Hitbox = Instance.new("Part",d)
  501. Hitbox.Size = Vector3.new(0.3, 1.8, 3)
  502. Hitbox.Name = "Hitbox"
  503. Hitbox:BreakJoints()
  504. Hitbox.Anchored = false
  505. Hitbox.Transparency = 1
  506. Hitbox.CanCollide = false
  507. Hitbox.Shape = "Block"
  508. Hitbox.TopSurface = "SmoothNoOutlines"
  509. Hitbox.BottomSurface = "SmoothNoOutlines"
  510. ddd = Instance.new("SpecialMesh",Handle)
  511. ddd.Scale=Vector3.new(2, 2, 2)
  512. ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
  513. ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
  514. local FakeHandle = Instance.new("Part",d)
  515. FakeHandle.Size = Vector3.new(0.3, 1.9, 3)
  516. FakeHandle.Name = "FakeHandle"
  517. FakeHandle:BreakJoints()
  518. FakeHandle.Anchored = false
  519. FakeHandle.Transparency = 1
  520. FakeHandle.CanCollide = false
  521. FakeHandle.Shape = "Block"
  522. FakeHandle.TopSurface = "SmoothNoOutlines"
  523. FakeHandle.BottomSurface = "SmoothNoOutlines"
  524. ddd = Instance.new("SpecialMesh",FakeHandle)
  525. ddd.Scale=Vector3.new(2, 2, 2)
  526. ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
  527. ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
  528.  
  529.  
  530.  
  531. local aWeld = Instance.new("Weld", char.Head)
  532. aWeld.Part0 = char.Head
  533. aWeld.Part1 = Fhead
  534. local aWeld = Instance.new("Weld", char.Torso)
  535. aWeld.Part0 = char.Torso
  536. aWeld.C1 = CFrame.new(0,1.2,.5)
  537. local aWeld = Instance.new("Weld", char.Torso)
  538. aWeld.Part0 = char.Torso
  539. aWeld.Part1 = A1
  540. aWeld.C1 = CFrame.new(.5,-.5,.5)
  541. local aWeld = Instance.new("Weld", char.Torso)
  542. aWeld.Part0 = char.Torso
  543. aWeld.Part1 = A2
  544. aWeld.C1 = CFrame.new(-.5,-.5,.5)
  545. local aWeld = Instance.new("Weld", char.Torso)
  546. aWeld.Part0 = char.Torso
  547. aWeld.Part1 = A3
  548. aWeld.C1 = CFrame.new(0,-1,.5)
  549. local aWeld = Instance.new("Weld", char.Torso)
  550. aWeld.Part0 = char.Torso
  551. aWeld.Part1 = A4
  552. aWeld.C1 = CFrame.new(.6,-1,0)
  553. local aWeld = Instance.new("Weld", char.Torso)
  554. aWeld.Part0 = char.Torso
  555. aWeld.Part1 = A5
  556. aWeld.C1 = CFrame.new(-.6,-1,0)
  557. local aWeld = Instance.new("Weld", char.Torso)
  558. aWeld.Part0 = char.Torso
  559. aWeld.Part1 = A6
  560. aWeld.C1 = CFrame.new(0,-1,-.42)
  561. local aWeld = Instance.new("Weld", char.Torso)
  562. aWeld.Part0 = char.Torso
  563. aWeld.Part1 = A7
  564. aWeld.C1 = CFrame.new(0,.6,0)
  565. local aWeld = Instance.new("Weld", char.Torso)
  566. aWeld.Part0 = char.Torso
  567. aWeld.Part1 = A8
  568. aWeld.C1 = CFrame.new(0,-1,-.55)
  569. local aWeld = Instance.new("Weld", char.Torso)
  570. aWeld.Part0 = char.Torso
  571. aWeld.Part1 = A9
  572. aWeld.C1 = CFrame.new(0,.6,-.55)
  573. local aWeld = Instance.new("Weld", char.Torso)
  574. aWeld.Part0 = char.Torso
  575. aWeld.Part1 = da
  576. aWeld.C1 = CFrame.new(0,.2,.5)
  577. local aWeld = Instance.new("Weld", char.Torso)
  578. aWeld.Part0 = char.Torso
  579. aWeld.Part1 = da1
  580. aWeld.C1 = CFrame.new(0,.2,.5)
  581.  
  582. Weld = Instance.new("Weld",Handle)
  583. Weld.Part0 = Weld.Parent
  584. Weld.Part1 = FakeHandle
  585. Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
  586. Weld = Instance.new("Weld",Hitbox)
  587. Weld.Part0 = Weld.Parent
  588. Weld.Part1 = FakeHandle
  589. Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
  590. FakeHandleWeld = Instance.new("Weld",FakeHandle)
  591. FakeHandleWeld.Part0 = FakeHandle
  592. FakeHandleWeld.Part1 = char["Right Arm"]
  593. FakeHandleWeld.C0 = CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90))
  594.  
  595.  
  596. local manWeld = Instance.new("Weld", char.Torso)
  597. manWeld.Part0 = char.Torso
  598. manWeld.Part1 = main
  599. manWeld.C1 = CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90))
  600. manWeld.C0 = CFrame.new(0,-0.4,0)--*CFrame.Angles(math.rad(90),0,0)
  601.  
  602. local cWeld = Instance.new("Weld", char.Torso)
  603. cWeld.Part0 = main
  604. --cWeld.C1 = CFrame.new(0,0,0)*CFrame.angles(0,0,0)
  605. -----
  606. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  607. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  608. local RW = newMotor(char.Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  609. local LW = newMotor(char.Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  610. local RH = newMotor(char.Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  611. local LH = newMotor(char.Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  612. RootJoint.C1 = CFrame.new(0, 0, 0)
  613. RootJoint.C0 = CFrame.new(0, 0, 0)
  614. char.Torso.Neck.C1 = CFrame.new(0, 0, 0)
  615. char.Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  616. local rarmc1 = RW.C1
  617. local larmc1 = LW.C1
  618. local rlegc1 = RH.C1
  619. local llegc1 = LH.C1
  620. local resetc1 = false
  621. PlayAnimationFromTable = function(table, speed, bool)
  622. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  623. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, table[2], speed)
  624. RW.C0 = clerp(RW.C0, table[3], speed)
  625. LW.C0 = clerp(LW.C0, table[4], speed)
  626. RH.C0 = clerp(RH.C0, table[5], speed)
  627. LH.C0 = clerp(LH.C0, table[6], speed)
  628. if bool == true and resetc1 == false then
  629. resetc1 = true
  630. RootJoint.C1 = RootJoint.C1
  631. char.Torso.Neck.C1 = char.Torso.Neck.C1
  632. RW.C1 = rarmc1
  633. LW.C1 = larmc1
  634. RH.C1 = rlegc1
  635. LH.C1 = llegc1
  636. end
  637. end
  638.  
  639. --
  640. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  641.  
  642. if hit.Parent == nil then
  643. return
  644. end
  645. local h = hit.Parent:FindFirstChild("Humanoid")
  646. for _,v in pairs(hit.Parent:children()) do
  647. if v:IsA("Humanoid") then
  648. h = v
  649. end
  650. end
  651. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  652. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  653. return
  654. end
  655. local c = Create("ObjectValue")({Name = "creator", Value = owner, Parent = h})
  656. game:GetService("Debris"):AddItem(c, 0.5)
  657. if HitSound ~= nil and HitPitch ~= nil then
  658. CreateSound(HitSound, hit, 1, HitPitch)
  659. end
  660. local Damage = math.random(minim, maxim)
  661. local blocked = false
  662. local block = hit.Parent:findFirstChild("Block")
  663. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  664. blocked = true
  665. block.Value = block.Value - 1
  666. print(block.Value)
  667. end
  668. if blocked == false then
  669. h.Health = h.Health - Damage
  670. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  671. else
  672. h.Health = h.Health - Damage / 2
  673. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  674. end
  675. if Type == "Knockdown" then
  676. local hum = hit.Parent.Humanoid
  677. hum.PlatformStand = true
  678. coroutine.resume(coroutine.create(function(HHumanoid)
  679.  
  680. swait(1)
  681. HHumanoid.PlatformStand = false
  682. end
  683. ), hum)
  684. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  685. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  686. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  687. game:GetService("Debris"):AddItem(bodvol, 0.5)
  688. game:GetService("Debris"):AddItem(rl, 0.5)
  689. elseif Type == "Normal" then
  690. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  691. if knockback > 0 then
  692. vp.Parent = hit.Parent.Torso
  693. end
  694. game:GetService("Debris"):AddItem(vp, 0.5)
  695. elseif Type == "Up" then
  696. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  697. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  698. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  699. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  700. elseif Type == "Snare" then
  701. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  702. game:GetService("Debris"):AddItem(bp, 1)
  703. elseif Type == "Freeze" then
  704. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  705. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  706. hit.Parent.Torso.Anchored = true
  707. coroutine.resume(coroutine.create(function(Part)
  708.  
  709. swait(1.5)
  710. Part.Anchored = false
  711. end
  712. ), hit.Parent.Torso)
  713. game:GetService("Debris"):AddItem(BodPos, 3)
  714. game:GetService("Debris"):AddItem(BodGy, 3)
  715. end
  716. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  717. game:GetService("Debris"):AddItem(debounce, Delay)
  718. c = Instance.new("ObjectValue")
  719. c.Name = "creator"
  720. c.Value = hoh
  721. c.Parent = h
  722. game:GetService("Debris"):AddItem(c, 0.5)
  723. end
  724. end
  725.  
  726. ShowDamage = function(Pos, Text, Time, Color)
  727.  
  728. local Rate = 0.033333333333333
  729. if not Pos then
  730. local Pos = Vector3.new(0, 0, 0)
  731. end
  732. local Text = Text or ""
  733. local Time = Time or 2
  734. if not Color then
  735. local Color = Color3.new(1, 1, 0)
  736. end
  737. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  738. EffectPart.Anchored = true
  739. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  740. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  741. game.Debris:AddItem(EffectPart, Time + 0.1)
  742. EffectPart.Parent = game:GetService("Workspace")
  743. delay(0, function()
  744.  
  745. local Frames = Time / Rate
  746. for Frame = 1, Frames do
  747. wait(Rate)
  748. local Percent = Frame / Frames
  749. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  750. TextLabel.TextTransparency = Percent
  751. end
  752. if EffectPart and EffectPart.Parent then
  753. EffectPart:Destroy()
  754. end
  755. end
  756. )
  757. end
  758.  
  759. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  760.  
  761. for _,c in pairs(workspace:children()) do
  762. local hum = c:findFirstChild("Humanoid")
  763. if hum ~= nil then
  764. local head = c:findFirstChild("Torso")
  765. if head ~= nil then
  766. local targ = head.Position - Part.Position
  767. local mag = targ.magnitude
  768. if mag <= magni and c.Name ~= hoh.Name then
  769. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  770. end
  771. end
  772. end
  773. end
  774. end
  775.  
  776. EffectModel = Instance.new("Model", char)
  777. EffectModel.Name = "Effects"
  778. Effects = {
  779. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  780.  
  781. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  782. prt.Anchored = true
  783. prt.CFrame = cframe
  784. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  785. game:GetService("Debris"):AddItem(prt, 10)
  786. if Type == 1 or Type == nil then
  787. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  788. else
  789. if Type == 2 then
  790. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  791. end
  792. end
  793. end
  794. }
  795. ,
  796. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  797.  
  798. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  799. prt.Anchored = true
  800. prt.CFrame = cframe
  801. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  802. game:GetService("Debris"):AddItem(prt, 10)
  803. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  804. end
  805. }
  806. ,
  807. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  808.  
  809. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  810. prt.Anchored = true
  811. prt.CFrame = cframe
  812. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  813. game:GetService("Debris"):AddItem(prt, 10)
  814. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  815. end
  816. }
  817. ,
  818. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  819.  
  820. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  821. prt.Anchored = true
  822. prt.CFrame = cframe
  823. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  824. game:GetService("Debris"):AddItem(prt, 10)
  825. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  826. end
  827. }
  828. ,
  829. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  830.  
  831. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  832. prt.Anchored = true
  833. prt.CFrame = cframe
  834. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  835. game:GetService("Debris"):AddItem(prt, 10)
  836. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  837. end
  838. }
  839. ,
  840. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  841.  
  842. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  843. prt.Anchored = true
  844. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  845. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  846. local num = math.random(10, 50) / 1000
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  849. end
  850. }
  851. }
  852. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  853.  
  854. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  855. prt.Anchored = true
  856. prt.CFrame = cframe
  857. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  858. game:GetService("Debris"):AddItem(prt, 10)
  859. if Type == 1 or Type == nil then
  860. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  861. else
  862. if Type == 2 then
  863. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  864. end
  865. end
  866. end
  867. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  868.  
  869. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  870. prt.Anchored = true
  871. prt.CFrame = cframe
  872. prt.Material = "Neon"
  873. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  874. game:GetService("Debris"):AddItem(prt, 10)
  875. coroutine.resume(coroutine.create(function(Part, Mesh)
  876.  
  877. for i = 0, 1, delay do
  878. swait()
  879. Part.Transparency = i
  880. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  881. end
  882. Part.Parent = nil
  883. end
  884. ), prt, msh)
  885. end
  886.  
  887. shoottraildd = function(mouse, partt, SpreadAmount)
  888.  
  889. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  890. local MainPos = partt.Position
  891. local MainPos2 = mouse.Hit.p + SpreadVectors
  892. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  893. local speed = 15
  894. local num = 20
  895. coroutine.resume(coroutine.create(function()
  896.  
  897. repeat
  898. swait()
  899. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  900. local mag = (MainPos - pos).magnitude
  901. Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  902. MainPos = MainPos + MouseLook.lookVector * speed
  903. num = num - 1
  904. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  905. if hit ~= nil then
  906. num = 0
  907. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  908. refpart.Anchored = true
  909. refpart.CFrame = CFrame.new(pos)
  910. game:GetService("Debris"):AddItem(refpart, 2)
  911. end
  912. do
  913. if num <= 0 then
  914. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  915. refpart.Anchored = true
  916. refpart.CFrame = CFrame.new(pos)
  917. if hit ~= nil then
  918. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  919. BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  920. BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
  921. MagniDamage(refpart, 15, 10, 15, 0, "Normal")
  922. end
  923. game:GetService("Debris"):AddItem(refpart, 0)
  924. end
  925. end
  926. until num <= 0
  927. end
  928. ))
  929. end
  930. -----
  931. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  932. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  933. prt.Anchored = true
  934. prt.CFrame = cframe
  935. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  936. game:GetService("Debris"):AddItem(prt, 10)
  937. table.insert(Effects, {
  938. prt,
  939. "Cylinder",
  940. delay,
  941. x3,
  942. y3,
  943. z3,
  944. msh
  945. })
  946. end
  947. -----
  948. function AppearDisappear()
  949. local ez = Instance.new("Part",char)
  950. ez.Size = Vector3.new(1,1,1)
  951. ez.Name = "a"
  952. ez:BreakJoints()
  953. ez.Anchored = false
  954. ez.Transparency = 0
  955. ez.CanCollide = false
  956. ez.Shape = "Block"
  957. ez.Material='Neon'
  958. ez.TopSurface = "SmoothNoOutlines"
  959. ez.BottomSurface = "SmoothNoOutlines"
  960. ez.BrickColor = BrickColor.new("White")
  961. ddd = Instance.new("SpecialMesh",ez)
  962. ddd.MeshType="Sphere"
  963. ddd.Scale=Vector3.new(6,6,6)
  964. Weld = Instance.new("Weld",ez)
  965. Weld.Part0 = Weld.Parent
  966. Weld.Part1 = char.Torso
  967. for a = 0, 1, .05 do
  968. ddd.Scale = ddd.Scale + Vector3.new(.5, .5, .5)
  969. ez.Transparency = ez.Transparency + .1
  970. wait()
  971. end
  972. ez:Remove()
  973. end
  974. function AppearDisappear1()
  975. Das.Transparency = 0
  976. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
  977. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=468148440"
  978. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
  979. end
  980. function AppearDisappear2()
  981. Das.Transparency = 0
  982. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
  983. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=330970993"
  984. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
  985. end
  986. function equip()
  987. Handle.Transparency = 0
  988. local ez = Instance.new("Part",char)
  989. ez.Size = Vector3.new(1,1,1)
  990. ez.Name = "a"
  991. ez:BreakJoints()
  992. ez.Anchored = false
  993. ez.Transparency = 0
  994. ez.CanCollide = false
  995. ez.Shape = "Block"
  996. ez.Material='Neon'
  997. ez.TopSurface = "SmoothNoOutlines"
  998. ez.BottomSurface = "SmoothNoOutlines"
  999. ez.BrickColor = BrickColor.new("New Yeller")
  1000. ddd = Instance.new("SpecialMesh",ez)
  1001. ddd.MeshType="Sphere"
  1002. ddd.Scale=Vector3.new(1,1,1)
  1003. Weld = Instance.new("Weld",ez)
  1004. Weld.Part0 = Weld.Parent
  1005. Weld.Part1 = Handle
  1006. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
  1007. for a = 0, 1, .05 do--while wait() and ez and ez.Transparency <= 1 do
  1008. ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
  1009. ez.Transparency = ez.Transparency + .1
  1010. wait()
  1011. end
  1012. ez:Remove()
  1013. end
  1014. function unequip()
  1015. Handle.Transparency = 1
  1016. local ez = Instance.new("Part",char)
  1017. ez.Size = Vector3.new(1,1,1)
  1018. ez.Name = "a"
  1019. ez:BreakJoints()
  1020. ez.Anchored = false
  1021. ez.Transparency = 0
  1022. ez.CanCollide = false
  1023. ez.Shape = "Block"
  1024. ez.Material='Neon'
  1025. ez.TopSurface = "SmoothNoOutlines"
  1026. ez.BottomSurface = "SmoothNoOutlines"
  1027. ez.BrickColor = BrickColor.new("New Yeller")
  1028. ddd = Instance.new("SpecialMesh",ez)
  1029. ddd.MeshType="Sphere"
  1030. ddd.Scale=Vector3.new(1,1,1)
  1031. Weld = Instance.new("Weld",ez)
  1032. Weld.Part0 = Weld.Parent
  1033. Weld.Part1 = Handle
  1034. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
  1035. for a = 0, 1, .05 do
  1036. ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
  1037. ez.Transparency = ez.Transparency + .1
  1038. wait()
  1039. end
  1040. ez:Remove()
  1041. end
  1042. attack1 = function()
  1043. attack = true
  1044. local con = Hitbox.Touched:connect(function(hit)
  1045.  
  1046. Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1047. end
  1048. )
  1049. for i = 0, 1, 0.1 do
  1050. swait()
  1051. --PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.529917479, 0, -0.848049283, 0, 1, 0, 0.848049283, 0, 0.529917479), CFrame.new(0, 1.49999499, 0, 0.406736165, 0, 0.913545728, 0, 1, 0, -0.913545728, 0, 0.406736165), CFrame.new(1.35679102, 0.782658279, 0.0675592273, 0.707045317, -0.527684033, 0.470782787, 0.133834034, -0.553849995, -0.82178998, 0.694388449, 0.644049466, -0.320975006), CFrame.new(-1.69279337, 0.499999672, -0.79492861, 0.717408359, 0.691137791, 0.0874861553, -0.0527720191, 0.179133937, -0.982408345, -0.694651246, 0.700171173, 0.164984912), CFrame.new(0.641659617, -1.99999392, 0.125842437, 0.882947862, 0, -0.469471127, 0, 1, 0, 0.469471127, 0, 0.882947862), CFrame.new(-0.348587006, -1.99999392, -0.0133331716, 0.898793101, 0, 0.438373119, 0, 1, 0, -0.438373119, 0, 0.898793101)}, 0.3, false)
  1052. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  1053. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1054. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 1.6, -.6) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3)
  1055. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1056. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1057. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1058.  
  1059. end
  1060. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 1.5)
  1061. for i = 0, 1, 0.1 do
  1062. swait()
  1063. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  1064. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1065. RW.C0 = clerp(RW.C0, CFrame.new(.9, -.1, -.8) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1066. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1067. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1068. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1069.  
  1070.  
  1071. --PlayAnimationFromTable({CFrame.new(0.180807382, 0, 0.0999719128, 0.342022538, 0, 0.939691782, 0, 1, 0, -0.939691782, 0, 0.342022538), CFrame.new(0.0106580649, 1.49999499, -0.0643079877, 0.469472408, 0, -0.882947266, 0, 1, 0, 0.882947266, 0, 0.469472408), CFrame.new(1.83224225, 0.376015127, 0.0757035911, 0.135973215, -0.988979697, 0.0585707389, 0.0630049929, -0.0503679588, -0.996741474, 0.988707185, 0.139220387, 0.0554619655), CFrame.new(-0.541033506, 0.699999869, -0.891753554, 0.658596575, -0.726630569, 0.195598423, 0.0759940296, -0.194378868, -0.977978408, 0.74864924, 0.658957481, -0.072797671), CFrame.new(0.641663194, -1.99999392, 0.125834763, 0.406737477, 0, -0.913545191, 0, 1, 0, 0.913545191, 0, 0.406737477), CFrame.new(-0.590457141, -1.99999392, 0.164175183, 0.984808207, 0, -0.173646241, 0, 1, 0, 0.173646241, 0, 0.984808207)}, 0.3, false)
  1072. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
  1073. end
  1074. con:disconnect()
  1075. attack = false
  1076. end
  1077. attack2 = function()
  1078. attack = true
  1079. local con = Hitbox.Touched:connect(function(hit)
  1080.  
  1081. Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1082. end
  1083. )
  1084. for i = 0, 1, 0.1 do
  1085. swait()
  1086. --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
  1087. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  1088. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1089. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .75, -1) * angles(math.rad(110), -math.rad(80), math.rad(15)), 0.3)
  1090. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1091. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1092. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1093. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
  1094. end
  1095. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
  1096. for i = 0, 1, 0.1 do
  1097. swait()
  1098. --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
  1099. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
  1100. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  1101. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1102. RW.C0 = clerp(RW.C0, CFrame.new(.3, .3, -.3) * angles(math.rad(40), math.rad(30), -math.rad(70)), 0.3)
  1103. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1104. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1105. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1106.  
  1107. end
  1108. con:disconnect()
  1109. attack = false
  1110. end
  1111. attack3 = function()
  1112. attack = true
  1113. local con = Hitbox.Touched:connect(function(hit)
  1114.  
  1115. Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1116. end)
  1117.  
  1118. for i = 0, 1, 0.1 do
  1119. swait()
  1120. --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
  1121. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.3)
  1122. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1123. RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.3)
  1124. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1125. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1126. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1127. end
  1128. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
  1129. for i = 0, .2, 0.1 do
  1130. swait()
  1131. --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
  1132. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1133. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(90), math.rad(0)), 0.3)
  1134. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1135. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
  1136. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1137. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1138. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1139. end
  1140. for i = 0, .2, 0.1 do
  1141. swait()
  1142. --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
  1143. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(180), math.rad(0)), 0.3)
  1144. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1145. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
  1146. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1147. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1148. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1149. end
  1150. for i = 0, .2, 0.1 do
  1151. swait()
  1152. --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
  1153. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(270), math.rad(0)), 0.3)
  1154. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1155. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
  1156. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1157. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1158. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1159. end
  1160.  
  1161.  
  1162.  
  1163.  
  1164. for i = 0, 1, 0.1 do
  1165. swait()
  1166. --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
  1167. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1168. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(40), math.rad(0)), 0.3)
  1169. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1170. RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(-math.rad(180), math.rad(0), math.rad(90)), 0.3)
  1171. LW.C0 = clerp(LW.C0, CFrame.new(-2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1172. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1173. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1174. end
  1175.  
  1176. con:disconnect()
  1177. attack = false
  1178. end
  1179. function kek1()
  1180. attack = true
  1181. Effects.Sphere.Create(BrickColor.new("New Yeller"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 6.5, 6.5, 6.5, 4, 4, 4, 0.07)
  1182.  
  1183. CFuncs.Sound.Create("http://www.roblox.com/asset?id=200633707", char.Torso, 0.8, 1.1)
  1184.  
  1185. local Aaaa = Instance.new("Part", RootPart)
  1186. Aaaa.Size = Vector3.new(.1, .1, .1)
  1187. Aaaa.BrickColor = BrickColor.new("White")
  1188. Aaaa.Transparency = 1
  1189. Aaaa.CanCollide = false
  1190. local abbWeld = Instance.new("Weld", RootPart)
  1191. abbWeld.Part0 = RootPart
  1192. abbWeld.Part1 = Aaaa
  1193. abbWeld.C1 = CFrame.new(0,0,9)
  1194.  
  1195. for i = 0, 2.5, 0.1 do
  1196. swait()
  1197. Effects.Ring.Create(BrickColor.new("Navy blue"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 1.5, 1.5, 0, 0.5, 0.5, 0, 0.07)
  1198. --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
  1199. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.1)
  1200. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1201. RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.1)
  1202. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.1)
  1203. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1204. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1205.  
  1206. end
  1207. for i = 0, 0.2, 0.1 do
  1208. swait()
  1209. --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
  1210. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1211. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  1212. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1213. RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), -math.rad(5)), 0.3)
  1214. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1215. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1216. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1217. end
  1218. Effects.Sphere.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 2.5, 2.5, 2.5, 3.5, 3.5, 3.5, 0.07)
  1219. Effects.Ring.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(0, 0, math.random(-3,3)), 2.5, 2.5, 2.5, 1, 1, 1, 0.07)
  1220.  
  1221. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", Aaaa, 1, 1)
  1222. CFuncs.Sound.Create("http://roblox.com/asset/?id=279675650", FakeHandle, 1, 1.1)
  1223. local con = Aaaa.Touched:connect(function(hit)
  1224. MagniDamage(Aaaa, 30, 30, 55, 4, "Knockdown")
  1225. --Damagefunc(Hitbox, hit, 30, 60, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1226. end
  1227. )
  1228. for i = 0, 1, 0.1 do
  1229. swait()
  1230. --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
  1231. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1232. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  1233. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1234. RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1235. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1236. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1237. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1238. end
  1239. Aaaa:Remove()
  1240. con:disconnect()
  1241. attack = false
  1242. end
  1243. function kek2()
  1244. attack = true
  1245.  
  1246.  
  1247. for i = 0, 1, 0.1 do
  1248. swait()
  1249. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1250. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
  1251. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1252. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
  1253. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1254. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1255. end
  1256. CFuncs.Sound.Create("rbxassetid://169380505", RootPart, 0.8, 1.5)
  1257. Effects.Cylinder.Create(BrickColor.new("New Yeller"), LeftArm.CFrame * angles(math.rad(2), 0, 0), 1, 9999, 1, 1, 1, 1, 0.07)
  1258. for i = 0, 2, 0.1 do
  1259. swait()
  1260. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1261. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
  1262. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1263. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
  1264. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1265. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1266. end
  1267. CFuncs.Sound.Create("rbxassetid://169445602", RootPart, 1, 1.2)
  1268. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1269. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, char)
  1270. if hit2 ~= nil then
  1271. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Navy blue"), "Effect", Vector3.new())
  1272. d1.Anchored = true
  1273. d1.CFrame = CFrame.new(pos2)
  1274. MagniDamage(d1, 20, 10, 25, 5, "Snare")
  1275. Effects.Cylinder.Create(BrickColor.new("New Yeller"), d1.CFrame * angles(0, 0, 0), 1, 9999, 1, 4, 1, 4, 0.07)
  1276. local con = Hitbox.Touched:connect(function(hit)
  1277. end)
  1278. game:GetService("Debris"):AddItem(d1, 5)
  1279. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(100, 5, 100))
  1280. local d2 = d1:Clone()
  1281. d2.Parent = d1
  1282. d2.CFrame = CFrame.new(d1.Position)
  1283. d2.BrickColor = BrickColor.new("New Yeller")
  1284. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1285. table.insert(Effects, {d1, "QuadShot", d2, d2.Mesh, 0})
  1286. end
  1287. attack = false
  1288.  
  1289. end
  1290. function kek3()
  1291. cooldown1 = cooldown1 - 5
  1292. local dacf = Handle.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1293. local icepart1 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", vt())
  1294. icepart1.Anchored = true
  1295. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", vt(0, 0, 0), vt(5, 5, 5))
  1296. icepart1.CFrame = dacf
  1297. for i = 0, 1, 0.1 do
  1298. swait()
  1299. icepart1.CFrame = dacf
  1300. end
  1301. local cfinc = 99999
  1302. icepart1.Transparency = 1
  1303. CreateSound("rbxassetid://334325056", icepart1, 1, 1)
  1304. game:GetService("Debris"):AddItem(icepart1, 1)
  1305. local spread = vt((math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + vt(0, -1, 0))).magnitude / 100
  1306. local TheHit = mouse.Hit.p
  1307. local MouseLook = cf((icepart1.Position + TheHit) / 2, TheHit + spread)
  1308. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1309. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1310. local test1, dist1 = mouse.Hit.p, nil
  1311. if target1 ~= nil then
  1312. cfda = target1.Position + vt(math.random(-3000, 3000) / 100, 20, math.random(-3000, 3000) / 100)
  1313. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1314. local d1 = CreatePart(effect, "SmoothPlastic", 0, 0.5, BrickColor.new("White"), "Effect", vt())
  1315. d1.Anchored = true
  1316. d1.CFrame = cf(pos2)
  1317. MagniDamage(d1, 10, 12, 15, -10, "Normal", "231917784")
  1318. SphereEffect(BrickColor.new("White"), cf(pos2), 100, 100, 100, 10, 10, 10, 0.07)
  1319. msh = CreateMesh("SpecialMesh", d1, "Sphere", "", vt(0, 0, 0), vt(80, 80, 80))
  1320. d2 = d1:Clone()
  1321. d2.Parent = d1
  1322. d2.CFrame = cf(d1.Position)
  1323. d2.BrickColor = BrickColor.new("Toothpaste")
  1324. d2.Mesh.Scale = vt(0, 5, 0)
  1325. table.insert(Effects, {
  1326. d1,
  1327. "SatelliteStrike",
  1328. d2,
  1329. d2.Mesh,
  1330. 0
  1331. })
  1332. end
  1333. end
  1334.  
  1335. function kek4()
  1336.  
  1337. end
  1338. mouse.Button1Down:connect(function()
  1339.  
  1340. if attack == false and attacktype == 1 and equipped == true then
  1341. attacktype = 2
  1342. attack1()
  1343. else
  1344. if attack == false and attacktype == 2 and equipped == true then
  1345. attacktype = 3
  1346. attack2()
  1347. else
  1348. if attack == false and attacktype == 3 and equipped == true then
  1349. attacktype = 1
  1350. attack3()
  1351. end
  1352. end
  1353. end
  1354. end
  1355. )
  1356.  
  1357. updateskills = function()
  1358.  
  1359. if cooldown1 <= co1 then
  1360. cooldown1 = cooldown1 + 0.033333333333333
  1361. end
  1362. if cooldown2 <= co2 then
  1363. cooldown2 = cooldown2 + 0.033333333333333
  1364. end
  1365. if cooldown3 <= co3 then
  1366. cooldown3 = cooldown3 + 0.033333333333333
  1367. end
  1368. if cooldown4 <= co4 then
  1369. cooldown4 = cooldown4 + 0.033333333333333
  1370. end
  1371. end
  1372.  
  1373. --[[function onKeyDown(key)
  1374. if key == "u" then
  1375. if nak == false and disable == false then
  1376. disable = true
  1377. AppearDisappear1()
  1378. AppearDisappear()
  1379. nak = true
  1380. wait(1)
  1381. disable = false
  1382. elseif disable == false then
  1383. AppearDisappear2()
  1384. AppearDisappear()
  1385.  
  1386. nak = false
  1387. wait(1)
  1388. disable = false
  1389. end
  1390. end
  1391.  
  1392. if key == "f" then
  1393. if equipped == false and disable == false then
  1394. disable = true
  1395. equipped = true
  1396. equip()
  1397. wait(1)
  1398. disable = false
  1399. elseif equipped == true and disable == false then
  1400. disable = true
  1401. unequip()
  1402. equipped = false
  1403. wait(1)
  1404. disable = false
  1405. end
  1406. end]]
  1407. mouse.KeyDown:connect(function(k)
  1408.  
  1409. k = k:lower()
  1410. if attack == false and equipped == true and k == "z" and co1 <= cooldown1 then
  1411. cooldown1 = 0
  1412. kek1()
  1413. else
  1414. if attack == false and equipped == true and k == "x" and co2 <= cooldown2 then
  1415. cooldown2 = 0
  1416. kek2()
  1417. else
  1418. if attack == false and equipped == true and k == "c" and co3 <= cooldown3 then
  1419. cooldown3 = 0
  1420. kek3()
  1421. else
  1422. if attack == false and k == "v" and co4 <= cooldown4 then
  1423. cooldown4 = 0
  1424. kek4()
  1425. else
  1426. if attack == false and k == "f" and equipped == false and disable == false then
  1427.  
  1428. disable = true
  1429. equipped = true
  1430. equip()
  1431. wait(.5)
  1432. disable = false
  1433. else
  1434. if k == "f" and equipped == true and disable == false then
  1435. disable = true
  1436. equipped = false
  1437. unequip()
  1438. wait(.5)
  1439. disable = false
  1440.  
  1441.  
  1442. else
  1443. if k == "u" and nak == false and disable == false then
  1444. disable = true
  1445. AppearDisappear1()
  1446. AppearDisappear()
  1447. nak = true
  1448. wait(.5)
  1449. disable = false
  1450. else
  1451. if k == "u" and nak == true and disable == false then
  1452. disable = true
  1453. AppearDisappear2()
  1454. AppearDisappear()
  1455. nak = false
  1456. wait(.5)
  1457. disable = false
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463. end
  1464. end
  1465. end
  1466. end)
  1467.  
  1468. while 1 do
  1469. swait()
  1470. updateskills()
  1471. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1472. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1473. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1474. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1475. for i,v in pairs(char:GetChildren()) do
  1476. if v:IsA("Part") then
  1477. v.Material = "SmoothPlastic"
  1478. else
  1479. if v:IsA("Hat") then
  1480. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1481. end
  1482. end
  1483. end
  1484. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1485. velocity = RootPart.Velocity.y
  1486. sine = sine + change
  1487. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1488. if equipped == true or equipped == false then
  1489. if 1 < RootPart.Velocity.y and hit == nil then
  1490. Anim = "Jump"
  1491. if attack == false then
  1492. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(65),-math.rad(90)), 0.3)
  1493. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.3,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1494. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1495. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1496. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1497. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1498. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1499. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
  1500. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
  1501. end
  1502. else
  1503. if RootPart.Velocity.y < -1 and hit == nil then
  1504. Anim = "Fall"
  1505. if attack == false then
  1506. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(15),-math.rad(90)), 0.3)
  1507. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1508. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1509. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1510. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1511. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1512. LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1513. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1514. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1515. end
  1516. else
  1517. if Torsovelocity < 1 and hit ~= nil then
  1518. Anim = "Idle"
  1519. if attack == false then
  1520. if equipped == true then
  1521. change = 1
  1522. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
  1523. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1524. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1525. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), -math.rad(20), math.rad(0)), 0.3)
  1526. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(5), math.rad(20), math.rad(0)), 0.3)
  1527. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1528. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1529. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1530. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1531. else
  1532. change = 1
  1533. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
  1534. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1535. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1536. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.06 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1537. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1538. RW.C0 = clerp(RW.C0, CFrame.new(0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), -math.rad(40)), 0.3)
  1539. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
  1540. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1541. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1542.  
  1543. end
  1544. end
  1545. else
  1546. if 2 < Torsovelocity and hit ~= nil then
  1547. Anim = "Walk"
  1548. if attack == false then
  1549. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)), 0.3)
  1550. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1551. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1552. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1553. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1554. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1555. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1556. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
  1557. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
  1558. end
  1559. end
  1560. end
  1561. end
  1562. end
  1563. end
  1564. if 0 < #Effects then
  1565. for e = 1, #Effects do
  1566. if Effects[e] ~= nil then
  1567. local Thing = Effects[e]
  1568. if Thing ~= nil then
  1569. local Part = Thing[1]
  1570. local Mode = Thing[2]
  1571. local Delay = Thing[3]
  1572. local IncX = Thing[4]
  1573. local IncY = Thing[5]
  1574. local IncZ = Thing[6]
  1575. if Thing[1].Transparency <= 1 then
  1576. if Thing[2] == "Block1" then
  1577. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1578. Mesh = Thing[1].Mesh
  1579. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1580. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1581. else
  1582. if Thing[2] == "Block2" then
  1583. Thing[1].CFrame = Thing[1].CFrame
  1584. Mesh = Thing[7]
  1585. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1586. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1587. else
  1588. if Thing[2] == "Cylinder" then
  1589. Mesh = Thing[1].Mesh
  1590. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1591. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1592. else
  1593. if Thing[2] == "Blood" then
  1594. Mesh = Thing[7]
  1595. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1596. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1597. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1598. else
  1599. if Thing[2] == "Elec" then
  1600. Mesh = Thing[1].Mesh
  1601. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1602. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1603. else
  1604. if Thing[2] == "Disappear" then
  1605. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1606. else
  1607. if Thing[2] == "Shatter" then
  1608. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1609. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1610. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1611. Thing[6] = Thing[6] + Thing[5]
  1612. else
  1613. if Thing[2] == "QuadShot" then
  1614. if Thing[5] < 100 then
  1615. Thing[5] = Thing[5] + 2.5
  1616. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  1617. else
  1618. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1619. refda.Anchored = true
  1620. refda.CFrame = CFrame.new(Thing[1].Position)
  1621. game:GetService("Debris"):AddItem(refda, 5)
  1622. CFuncs.Sound.Create("rbxassetid://203691378", refda, 1, 1.2)
  1623. CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
  1624. --MagniDamage(refda, 40, 20, 50, BrickColor.new("Navy blue"), BrickColor.new("New Yeller"))
  1625. MagniDamage(refda, 40, 20, 50, 50, "Freeze")
  1626. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(refda.Position), 3, 3, 3, 10, 10, 10, 0.05)
  1627. Effects.Sphere.Create(BrickColor.new("Navy blue"), CFrame.new(refda.Position), 15, 15, 15, 10, 10, 10, 0.05)
  1628. --Effects.Sphere.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06)
  1629. Effects.Block.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06, 1)
  1630. Effects.Wave.Create(BrickColor.new("New Yeller"), refda.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  1631. Thing[1].Parent = nil
  1632. table.remove(Effects, e)
  1633. end
  1634. end
  1635. end
  1636. end
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642. else
  1643. Part.Parent = nil
  1644. table.remove(Effects, e)
  1645. end
  1646. end
  1647. end
  1648. end
  1649. end
  1650. end
Add Comment
Please, Sign In to add comment