LifeIsBoring

Untitled

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