wamandnj

Untitled

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