Advertisement
gdgrg

yeeee

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