Advertisement
wamandnj

Untitled

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