Advertisement
coolgoldboy166

maid

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