Advertisement
Guest User

Untitled

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