Advertisement
PROMobYT

Untitled

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