Advertisement
zXzGamePROzXz

Waifu

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