Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.43 KB | None | 0 0
  1. wait(1)
  2. local Player = game:GetService("Players"):WaitForChild('zane225_game') --<=== Replace With Your Name
  3.  
  4.  
  5. local Mouse,mouse,UserInputService,ContextActionService
  6. do
  7. script.Parent = Player.Character
  8. local CAS = {Actions={}}
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11. Event.Parent = Player.Character
  12. local fakeEvent = function()
  13. local t = {_fakeEvent=true}
  14. t.Connect = function(self,f)self.Function=f end
  15. t.connect = t.Connect
  16. return t
  17. end
  18. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  19. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  20. function CAS:BindAction(name,fun,touch,...)
  21. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  22. end
  23. function CAS:UnbindAction(name)
  24. CAS.Actions[name] = nil
  25. end
  26. local function te(self,ev,...)
  27. local t = m[ev]
  28. if t and t._fakeEvent and t.Function then
  29. t.Function(...)
  30. end
  31. end
  32. m.TrigEvent = te
  33. UIS.TrigEvent = te
  34. Event.OnServerEvent:Connect(function(plr,io)
  35. if plr~=Player then return end
  36. if io.isMouse then
  37. m.Target = io.Target
  38. m.Hit = io.Hit
  39. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  40. if io.UserInputState == Enum.UserInputState.Begin then
  41. m:TrigEvent("Button1Down")
  42. else
  43. m:TrigEvent("Button1Up")
  44. end
  45. else
  46. for n,t in pairs(CAS.Actions) do
  47. for _,k in pairs(t.Keys) do
  48. if k==io.KeyCode then
  49. t.Function(t.Name,io.UserInputState,io)
  50. end
  51. end
  52. end
  53. if io.UserInputState == Enum.UserInputState.Begin then
  54. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputBegan",io,false)
  56. else
  57. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent("InputEnded",io,false)
  59. end
  60. end
  61. end)
  62. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  63. end
  64.  
  65. print("woof")
  66. wait(1)
  67. p = game.Players:WaitForChild('tailsthefox33555')
  68. char = p.Character
  69. des = false
  70. fling = true
  71. dot = false
  72. falling = false
  73.  
  74. --char.Shirt:Remove()
  75. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  76. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  77. wait()--shirt = Instance.new("Shirt", char)
  78. --shirt.Name = "Shirt"
  79. --pants = Instance.new("Pants", char)
  80. --pants.Name = "Pants"
  81.  
  82.  
  83.  
  84.  
  85. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
  86. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  87. tp = true
  88. shoot = true
  89. hum = char.Humanoid
  90. punch = true
  91. neckp = char.Torso.Neck.C0
  92. neck = char.Torso.Neck
  93. hum.MaxHealth = 100000
  94. wait()
  95. hum.Health =hum.MaxHealth
  96. des = false
  97. root=char.HumanoidRootPart
  98. torso = char.Torso
  99. local ChatService = game:GetService("Chat")
  100. local player = game.Players:WaitForChild('tailsthefox33555')
  101. lig = Instance.new("PointLight",player.Character.Torso)
  102. lig.Color=Color3.new(255,0,0)
  103. bb = Instance.new("BillboardGui",player.Character.Head)
  104. bb.Enabled = true
  105. function newRay(start,face,range,wat)
  106. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  107. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  108. return rey,hit,pos
  109. end
  110. aa1={}
  111. torso=game.Players:WaitForChild('tailsthefox33555').Character.Torso
  112.  
  113. local WorldUp = Vector3.new(0,1,0)
  114. function look2(Vec1,Vec2)
  115. local Orig = Vec1
  116. Vec1 = Vec1+Vector3.new(0,1,0)
  117. Vec2 = Vec2+Vector3.new(0,1,0)
  118. local Forward = (Vec2-Vec1).unit
  119. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  120. local Right = Up:Cross(Forward).unit
  121. Forward = -Forward
  122. Right = -Right
  123. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  124. end
  125.  
  126. function look(CFr,Vec2)
  127. local A = Vector3.new(0,0,0)
  128. local B = CFr:inverse()*Vec2
  129. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  130. if B.Z > 0 then
  131. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  132. elseif B.Z == 0 then
  133. if B.Y > 0 then
  134. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  135. elseif B.Y < 0 then
  136. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  137. else
  138. CF = CFr
  139. end
  140. end
  141. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  142. local Up = Vector3.new(X,Y,Z)
  143. local Forward = (Vec2-CFr.p).unit
  144. local Right = Up:Cross(Forward)
  145. Forward = -Forward
  146. Right = -Right
  147. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  148. end
  149.  
  150. function simulate(j,d,m,r,t)
  151. local joint = j
  152. for i,v in ipairs(t) do
  153. if v[1]:FindFirstChild("Weld") then
  154. local stiff = m.CFrame.lookVector*0.03
  155. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  156. local dir = (v[2].p-(joint.p+Vector3.new(0,0.03,0)+stiff)).unit
  157. local dis = (v[2].p-(joint.p+Vector3.new(0,0.03,0)+stiff)).magnitude
  158. local pos = joint.p+(dir*(d*0.5))
  159. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  160. local inv = v[1].Weld.Part0.CFrame
  161. local rel1 = inv:inverse()*pos
  162. local rel2 = inv:inverse()*(pos-(dir*dis))
  163. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  164. v[1].Weld.C0 = cf
  165. v[2] = inv*cf
  166. --v[1].CFrame = cf
  167. end
  168. end
  169. end
  170. for i=1,8 do
  171. local p = Instance.new("Part",char)
  172. p.Anchored = false
  173. p.BrickColor = BrickColor.new("Really black")
  174. p.CanCollide = false
  175. p.FormFactor="Custom"
  176. p.Material = "SmoothPlastic"
  177. p.TopSurface = "SmoothNoOutlines"
  178. p.BottomSurface = "SmoothNoOutlines"
  179. p.RightSurface = "SmoothNoOutlines"
  180. p.LeftSurface = "SmoothNoOutlines"
  181. p.FrontSurface = "SmoothNoOutlines"
  182. p.BackSurface = "SmoothNoOutlines"
  183.  
  184. p.Size=Vector3.new(0.4,0.4,0.4)
  185. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  186. mesh = Instance.new("SpecialMesh",p)
  187. mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  188. mesh.Scale = Vector3.new(0.4,0.4,-1)
  189. local w = Instance.new("Motor6D",p)
  190. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  191. w.Part1 = p
  192. w.Name = "Weld"
  193. --table.insert(aa1,p)
  194. aa1[i] = {p,p.CFrame}
  195.  
  196. end
  197. game:service"RunService".Stepped:connect(function()
  198. simulate(torso.CFrame*CFrame.new(0,-0.7,.5),.6,torso,Vector3.new(),aa1)
  199. end)
  200.  
  201. function stream(origin,dir,length,size)
  202. local parts = {}
  203. for i = 1,length do
  204. local p = Instance.new("Part",char)
  205. p.Anchored = true
  206. p.Transparency = 0.5
  207. p.TopSurface = 0
  208. p.BottomSurface = 0
  209. p.CanCollide = false
  210. p.BrickColor = BrickColor.new("Really black")
  211. p.Size = Vector3.new(10,30,10) -- for now
  212. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  213. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  214. game:GetService("Debris"):AddItem(p,3)
  215. end
  216. Spawn(function()
  217. while parts do
  218. for i,v in pairs(parts) do
  219. if v[1].Parent == char then
  220. v[1].CFrame = v[1].CFrame*v[2]
  221. else
  222. parts = nil
  223. break
  224. end
  225. end
  226. wait(0.02)
  227. end
  228. end)
  229. end
  230. -----------------
  231. p = game.Players:WaitForChild('tailsthefox33555')
  232. char = p.Character
  233. larm = char["Left Arm"]
  234. rarm = char["Right Arm"]
  235. lleg = char["Left Leg"]
  236. rleg = char["Right Leg"]
  237. hed = char.Head
  238. torso = char.Torso
  239. hum = char.Humanoid
  240. cam = game.Workspace.CurrentCamera
  241. root = char.HumanoidRootPart
  242. deb = false
  243. shot = 0
  244. HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  245. debris=game:service"Debris"
  246. l = game:GetService("Lighting")
  247. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  248. Light = game.Lighting
  249. player = game:GetService("Players"):WaitForChild('tailsthefox33555')
  250. chara = player.Character
  251. Character=player.Character
  252. PlayerGui=player.PlayerGui
  253. Backpack=player.Backpack
  254. Torso=Character.Torso
  255. Head=Character.Head
  256. LeftArm=Character["Left Arm"]
  257. LeftLeg=Character["Left Leg"]
  258. RightArm=Character["Right Arm"]
  259. RightLeg=Character["Right Leg"]
  260. LS=Torso["Left Shoulder"]
  261. LH=Torso["Left Hip"]
  262. RS=Torso["Right Shoulder"]
  263. RH=Torso["Right Hip"]
  264. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  265. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  266. LH=Torso["Left Hip"]
  267. RH=Torso["Right Hip"]
  268. TorsoColor=Torso.BrickColor
  269. Face = Head.face
  270. Neck=Torso.Neck
  271. it=Instance.new
  272. attacktype=1
  273. brokenwing=1
  274. vt=Vector3.new
  275. laser = false
  276. cf=CFrame.new
  277. euler=CFrame.fromEulerAnglesXYZ
  278. angles=CFrame.Angles
  279. cloaked=false
  280. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  281. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  282. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  283. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  284. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  285. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  286. RootPart=Character.HumanoidRootPart
  287. RootJoint=RootPart.RootJoint
  288. RootCF=euler(-1.57,0,3.14)
  289. attack = false
  290. attackdebounce = false
  291. deb=false
  292. equipped=true
  293. hand=false
  294. MMouse=nil
  295. local sine = 0
  296. local change = 1
  297. local val = 0
  298. local Sit = false
  299. combo=0
  300. mana=0
  301. trispeed=.2
  302. attackmode='none'
  303. local idle=0
  304. local Anim="Idle"
  305. local Effects={}
  306. local gun=false
  307. local shoot=false
  308. RSH, LSH=nil, nil
  309. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  310. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  311. LH=Torso["Left Hip"]
  312. RH=Torso["Right Hip"]
  313. TorsoColor=Torso.BrickColor
  314. ch = chara:GetChildren()
  315. RSH=chara.Torso["Right Shoulder"]
  316. LSH=chara.Torso["Left Shoulder"]
  317. Debounces = {
  318. CanAttack = true;
  319. NoIdl = false;
  320. Slashing = false;
  321. Slashed = false;
  322. RPunch = false;
  323. RPunched = false;
  324. LPunch = false;
  325. LPunched = false;
  326. }
  327. --
  328. RSH.Parent=nil
  329. LSH.Parent=nil
  330. --
  331. RW.Name="Right Shoulder"
  332. RW.Part0=chara.Torso
  333. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  334. RW.C1=cf(0, 0.5, 0)
  335. RW.Part1=chara["Right Arm"]
  336. RW.Parent=chara.Torso
  337. --
  338. LW.Name="Left Shoulder"
  339. LW.Part0=chara.Torso
  340. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  341. LW.C1=cf(0, 0.5, 0)
  342. LW.Part1=chara["Left Arm"]
  343. LW.Parent=chara.Torso
  344.  
  345.  
  346. music = Instance.new('Sound',chara)
  347. music.SoundId = "rbxassetid://0"
  348. music.Volume = 0
  349. music.Looped = true
  350. music:Play()
  351.  
  352. sound = Instance.new('Sound',chara)
  353. sound.SoundId = "rbxassetid://401604539"
  354. sound.Volume = 3
  355. sound.PlaybackSpeed = 0.3
  356.  
  357.  
  358. local naeeym = Instance.new("BillboardGui",chara)
  359. naeeym.Size = UDim2.new(0,100,0,40)
  360. naeeym.StudsOffset = Vector3.new(0,2,0)
  361. naeeym.Adornee = chara.Head
  362.  
  363. ShadowHead = Instance.new('Part',chara)
  364. ShadowHead.Name = "ears"
  365. ShadowHead.CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  366. ear = Instance.new('SpecialMesh',ShadowHead)
  367. ear.MeshId = "http://www.roblox.com/asset/?id=1374148"
  368. ear.Scale = Vector3.new(1.2,1.4,2)
  369. ear.Offset = Vector3.new(.05,1,0)
  370. Weld = Instance.new('Weld',ShadowHead)
  371. Weld.Part0 = ShadowHead
  372. Weld.Part1 = chara.Head
  373.  
  374. function Freeze()
  375. C.Saturation = 0
  376. wait(0.01)
  377. C.Saturation = -0.2
  378. wait(0.01)
  379. C.Saturation = -0.4
  380. wait(0.01)
  381. C.Saturation = -0.6
  382. wait(0.01)
  383. C.Saturation = -0.8
  384. wait(0.01)
  385. C.Saturation = -1
  386. wait(0.01)
  387. C.Saturation = -1.2
  388. wait(0.01)
  389. C.Saturation = -1.4
  390. wait(0.01)
  391. C.Saturation = -1.6
  392. wait(0.01)
  393. C.Saturation = -1.8
  394. wait(0.01)
  395. C.Saturation = -2
  396. end
  397.  
  398. function Unfreeze()
  399. C.Saturation = -2
  400. wait(0.01)
  401. C.Saturation = -1.8
  402. wait(0.01)
  403. C.Saturation = -1.6
  404. wait(0.01)
  405. C.Saturation = -1.4
  406. wait(0.01)
  407. C.Saturation = -1.2
  408. wait(0.01)
  409. C.Saturation = -1
  410. wait(0.01)
  411. C.Saturation = -0.8
  412. wait(0.01)
  413. C.Saturation = -0.6
  414. wait(0.01)
  415. C.Saturation = -0.4
  416. wait(0.01)
  417. C.Saturation = -0.2
  418. wait(0.01)
  419. C.Saturation = 0
  420. end
  421.  
  422. function Unfreeze2()
  423. C.Saturation = -2
  424. wait(0.01)
  425. C.Saturation = -1.8
  426. wait(0.01)
  427. C.Saturation = -1.6
  428. wait(0.01)
  429. C.Saturation = -1.4
  430. wait(0.01)
  431. C.Saturation = -1.2
  432. wait(0.01)
  433. C.Saturation = -1
  434. wait(0.01)
  435. C.Saturation = -0.8
  436. wait(0.01)
  437. C.Saturation = -0.6
  438. wait(0.01)
  439. C.Saturation = -0.4
  440. wait(0.01)
  441. C.Saturation = -0.2
  442. wait(0.01)
  443. C:Destroy()
  444. end
  445.  
  446. function clerp(a,b,t)
  447. local qa = {QuaternionFromCFrame(a)}
  448. local qb = {QuaternionFromCFrame(b)}
  449. local ax, ay, az = a.x, a.y, a.z
  450. local bx, by, bz = b.x, b.y, b.z
  451. local _t = 1-t
  452. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  453. end
  454.  
  455. function QuaternionFromCFrame(cf)
  456. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  457. local trace = m00 + m11 + m22
  458. if trace > 0 then
  459. local s = math.sqrt(1 + trace)
  460. local recip = 0.5/s
  461. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  462. else
  463. local i = 0
  464. if m11 > m00 then
  465. i = 1
  466. end
  467. if m22 > (i == 0 and m00 or m11) then
  468. i = 2
  469. end
  470. if i == 0 then
  471. local s = math.sqrt(m00-m11-m22+1)
  472. local recip = 0.5/s
  473. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  474. elseif i == 1 then
  475. local s = math.sqrt(m11-m22-m00+1)
  476. local recip = 0.5/s
  477. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  478. elseif i == 2 then
  479. local s = math.sqrt(m22-m00-m11+1)
  480. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  481. end
  482. end
  483. end
  484.  
  485. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  486. local xs, ys, zs = x + x, y + y, z + z
  487. local wx, wy, wz = w*xs, w*ys, w*zs
  488. local xx = x*xs
  489. local xy = x*ys
  490. local xz = x*zs
  491. local yy = y*ys
  492. local yz = y*zs
  493. local zz = z*zs
  494. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  495. end
  496.  
  497. function QuaternionSlerp(a, b, t)
  498. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  499. local startInterp, finishInterp;
  500. if cosTheta >= 0.0001 then
  501. if (1 - cosTheta) > 0.0001 then
  502. local theta = math.acos(cosTheta)
  503. local invSinTheta = 1/math.sin(theta)
  504. startInterp = math.sin((1-t)*theta)*invSinTheta
  505. finishInterp = math.sin(t*theta)*invSinTheta
  506. else
  507. startInterp = 1-t
  508. finishInterp = t
  509. end
  510. else
  511. if (1+cosTheta) > 0.0001 then
  512. local theta = math.acos(-cosTheta)
  513. local invSinTheta = 1/math.sin(theta)
  514. startInterp = math.sin((t-1)*theta)*invSinTheta
  515. finishInterp = math.sin(t*theta)*invSinTheta
  516. else
  517. startInterp = t-1
  518. finishInterp = t
  519. end
  520. end
  521. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  522. end
  523.  
  524. function swait(num)
  525. if num==0 or num==nil then
  526. game:service'RunService'.Heartbeat:wait(0)
  527. else
  528. for i=0,num do
  529. game:service'RunService'.Heartbeat:wait(0)
  530. end
  531. end
  532. end
  533.  
  534. function attackone()
  535. attack=true
  536. for i=0,1,0.14 do
  537. swait()
  538. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  539. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  540. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  541. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  542. --KWeld.C0=clerp(--KWeld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  543. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  544. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  545. end
  546. for i=0,1,0.14 do
  547. swait()
  548. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  549. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  550. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  551. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  552. --KWeld.C0=clerp(--KWeld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  553. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  554. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  555. end
  556. attack = false
  557. end
  558.  
  559. function attacktwo()
  560. attack=true
  561. for i=0,1,0.14 do
  562. swait()
  563. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  564. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  565. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  566. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  567. --KWeld.C0=clerp(--KWeld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  568. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  569. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  570. end
  571. for i=0,1,0.14 do
  572. swait()
  573. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  574. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  575. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  576. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  577. --KWeld.C0=clerp(--KWeld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  580. end
  581. attack = false
  582. end
  583.  
  584. if Mouse then
  585. function onButton1Down()
  586. if attack==false then
  587. if attacktype==3 and Sit == false and attack == false then
  588. attack=true
  589. attacktype=1
  590. attackone()
  591. elseif attacktype==1 and Sit == false and attack == false then
  592. attack=true
  593. attacktype=2
  594. attacktwo()
  595. elseif attacktype==2 and Sit == false and attack == false then
  596. attack=true
  597. attacktype=3
  598. Spin()
  599. end
  600. end
  601. end
  602. Mouse.Button1Down:connect(onButton1Down)
  603. Mouse.KeyDown:connect(onKeyDown)
  604. end
  605.  
  606. --Death--
  607. chara.Humanoid.Died:connect(function()
  608.  
  609. end)
  610.  
  611. player = game.Players:WaitForChild('tailsthefox33555')
  612. chara = player.Character
  613. debby = game.Debris
  614. chara.Humanoid.WalkSpeed = 30
  615. atkd = false
  616. targetted = nil
  617.  
  618. New = function(Object, Parent, Name, Data)
  619. local Object = Instance.new(Object)
  620. for Index, Value in pairs(Data or {}) do
  621. Object[Index] = Value
  622. end
  623. Object.Parent = Parent
  624. Object.Name = Name
  625. return Object
  626. end
  627.  
  628. LeftArm.Touched:connect(function(ht)
  629. hit = ht.Parent
  630. if attack == true then
  631. if ht and hit:IsA("Model") then
  632. if hit:FindFirstChild("Humanoid") then
  633. if hit.Name ~= Character.Name then
  634. hit.Humanoid:TakeDamage(5000)
  635. end
  636. end
  637. end
  638. end
  639. end)
  640.  
  641. RightArm.Touched:connect(function(ht)
  642. hit = ht.Parent
  643. if attack == true then
  644. if ht and hit:IsA("Model") then
  645. if hit:FindFirstChild("Humanoid") then
  646. if hit.Name ~= Character.Name then
  647. hit.Humanoid:TakeDamage(5000)
  648. end
  649. end
  650. end
  651. end
  652. end)
  653.  
  654. LeftLeg.Touched:connect(function(ht)
  655. hit = ht.Parent
  656. if attack == true then
  657. if ht and hit:IsA("Model") then
  658. if hit:FindFirstChild("Humanoid") then
  659. if hit.Name ~= Character.Name then
  660. hit.Humanoid:TakeDamage(5000)
  661. end
  662. end
  663. end
  664. end
  665. end)
  666.  
  667. RightLeg.Touched:connect(function(ht)
  668. hit = ht.Parent
  669. if attack == true then
  670. if ht and hit:IsA("Model") then
  671. if hit:FindFirstChild("Humanoid") then
  672. if hit.Name ~= Character.Name then
  673. hit.Humanoid:TakeDamage(5000)
  674. end
  675. end
  676. end
  677. end
  678. end)
  679.  
  680. crosshair = Instance.new("BillboardGui",chara)
  681. crosshair.Size = UDim2.new(10,0,10,0)
  682. crosshair.Enabled = false
  683. imgl = Instance.new("ImageLabel",crosshair)
  684. imgl.Position = UDim2.new(0,0,0,0)
  685. imgl.Size = UDim2.new(1,0,1,0)
  686. imgl.Image = "rbxassetid://233522684"
  687. imgl.BackgroundTransparency = 1
  688. imgl.ImageColor3 = Color3.new(.6,0,0)
  689.  
  690. C = Instance.new('ColorCorrectionEffect',Light)
  691.  
  692. function Laser()
  693. attack = true
  694. if Debounces.CanAttack == true then
  695. Debounces.CanAttack = false
  696. Debounces.on = true
  697. Debounces.NoIdl = true
  698. x = Instance.new("Sound",char)
  699. x.SoundId = "rbxassetid://228343271"
  700. x.Pitch = 1
  701. x.Volume = .8
  702. wait(.1)
  703. x:Play()
  704. Debounces.on = false
  705. Debounces.Here = false
  706. shot = shot + 1
  707. local rng = Instance.new("Part", larm)
  708. rng.Anchored = true
  709. rng.BrickColor = BrickColor.new("Royal purple")
  710. rng.CanCollide = false
  711. rng.FormFactor = 3
  712. rng.Name = "Ring"
  713. rng.Size = Vector3.new(1, 1, 1)
  714. rng.Transparency = 0.35
  715. rng.TopSurface = 0
  716. rng.BottomSurface = 0
  717. rng2 = rng:clone()
  718. rng3 = rng2:clone()
  719. rng4 = rng2:clone()
  720. local rngm = Instance.new("SpecialMesh", rng)
  721. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  722. rngm.Scale = Vector3.new(10, 10, 1)
  723. rngm2 = rngm:clone()
  724. rngm2.Scale = Vector3.new(5, 5, 3)
  725. rngm3=rngm2:clone()
  726. rngm3.Parent = rng3
  727. rngm3.Scale = Vector3.new(8, 8, 1)
  728. rngm4 = rngm2:clone()
  729. rngm4.Parent = rng4
  730. rngm4.Scale = Vector3.new(6, 6, 1)
  731. local bem = Instance.new("Part", larm)
  732. bem.Anchored = true
  733. bem.BrickColor = BrickColor.new("Really black")
  734. bem.CanCollide = false
  735. bem.FormFactor = 3
  736. bem.Name = "Beam" .. shot
  737. bem.Size = Vector3.new(1, 1, 1)
  738. bem.Transparency = 0.35
  739. bem.TopSurface = 0
  740. bem.BottomSurface = 0
  741. bem.Touched:connect(function(ht)
  742. hit = ht.Parent
  743. if attack == true then
  744. if ht and hit:IsA("Model") then
  745. if hit:FindFirstChild("Humanoid") then
  746. if hit.Name ~= Character.Name then
  747. hit.Humanoid:TakeDamage(5000)
  748. end
  749. end
  750. end
  751. end
  752. end)
  753. local bemm = Instance.new("SpecialMesh", bem)
  754. bemm.MeshType = 4
  755. bemm.Scale = Vector3.new(1, 4, 4)
  756. local out = Instance.new("Part", larm)
  757. out.Anchored = true
  758. out.BrickColor = BrickColor.new("Really black")
  759. out.CanCollide = false
  760. out.FormFactor = 3
  761. out.Name = "Out"
  762. out.Size = Vector3.new(4, 4, 4)
  763. out.Transparency = 0.35
  764. out.TopSurface = 0
  765. out.BottomSurface = 0
  766. local outm = Instance.new("SpecialMesh", out)
  767. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  768. outm.Scale = Vector3.new(6, 4, 6)
  769. local bnd = Instance.new("Part", larm)
  770. bnd.Anchored = true
  771. bnd.BrickColor = BrickColor.new("Really red")
  772. bnd.CanCollide = false
  773. bnd.FormFactor = 3
  774. bnd.Name = "Bend"
  775. bnd.Size = Vector3.new(1, 1, 1)
  776. bnd.Transparency = 1
  777. bnd.TopSurface = 0
  778. bnd.BottomSurface = 0
  779. local bndm = Instance.new("SpecialMesh", bnd)
  780. bndm.MeshType = 3
  781. bndm.Scale = Vector3.new(8, 8, 8)
  782. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  783. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  784. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  785. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  786. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  787. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  788. Debounces.Shewt = true
  789. coroutine.wrap(function()
  790. for i = 1, 20, 0.2 do
  791. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  792. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  793. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  794. rng.Transparency = i/20
  795. rng3.Transparency = 1/24
  796. rng4.Transparency = i/26
  797. wait()
  798. end
  799. wait()
  800. rng:Destroy()
  801. end)()
  802. if Debounces.Shewt == true then
  803. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  804. hit = ht.Parent
  805. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  806. if HasntTouched(hit.Name) == true and deb == false then
  807. deb = true
  808. coroutine.wrap(function()
  809. hit:FindFirstChild("Humanoid").PlatformStand = true
  810. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  811. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  812. end)()
  813. table.insert(Touche, hit.Name)
  814. deb = false
  815. end
  816. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  817. if HasntTouched(hit.Parent.Name) == true and deb == false then
  818. deb = true
  819. coroutine.wrap(function()
  820. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  821. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  822. wait(1)
  823. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  824. end)()
  825. deb = false
  826. end
  827. end
  828. end)
  829. end
  830. for i = 0, 260, 8 do
  831. bem.Size = Vector3.new(i, 3, 3)
  832. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  833. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  834. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  835. bnd.Size = Vector3.new(1,1,1)
  836. bndm.Scale = Vector3.new(8,8,8)
  837. if i % 10 == 0 then
  838. local newRng = rng2:Clone()
  839. newRng.Parent = larm
  840. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  841. local newRngm = rngm2:clone()
  842. newRngm.Parent=newRng
  843. coroutine.wrap(function()
  844. for i = 1, 10, 0.2 do
  845. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  846. newRng.Transparency = i/10
  847. wait()
  848. end
  849. wait()
  850. newRng:Destroy()
  851. end)()
  852. end
  853. wait()
  854. end
  855. wait()
  856. Debounces.Shewt = false
  857. bem:Destroy()
  858. out:Destroy()
  859. bnd:Destroy()
  860. Debounces.Ready = false
  861. wait()
  862. Debounces.NoIdl = false
  863. if Debounces.CanAttack == false then
  864. Debounces.CanAttack = true
  865. attack = false
  866. end
  867. end
  868. end
  869.  
  870. function Dash()
  871. local ch = chara:GetChildren()
  872. for i = 1, #ch do
  873. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  874. local trace = Instance.new("Part",game.Workspace)
  875. trace.Size = ch[i].Size
  876. trace.Material = "Neon"
  877. trace.BrickColor = BrickColor.new("Royal purple")
  878. trace.Transparency = .3
  879. trace.CanCollide = false
  880. trace.Anchored = true
  881. trace.CFrame = ch[i].CFrame
  882. if ch[i].Name == "Head" then
  883. mehs = Instance.new("CylinderMesh",trace)
  884. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  885. end
  886. tracedisappear = coroutine.wrap(function()
  887. for i = 1, 7 do
  888. wait(.1)
  889. trace.Transparency = trace.Transparency + .1
  890. end
  891. if trace.Transparency <= 0 then
  892. trace:Destroy()
  893. end
  894. end)
  895. tracedisappear()
  896. end
  897. end
  898. end
  899.  
  900. function Teleport()
  901. local ch = chara:GetChildren()
  902. for i = 1, #ch do
  903. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  904. local trace = Instance.new("Part",game.Workspace)
  905. trace.Size = ch[i].Size
  906. trace.Material = "Neon"
  907. trace.BrickColor = BrickColor.new("Royal purple")
  908. trace.Transparency = .3
  909. trace.CanCollide = false
  910. trace.Anchored = true
  911. trace.CFrame = ch[i].CFrame
  912. Q1=Instance.new('Sound',trace)
  913. Q1.SoundId = "rbxassetid://509138786"
  914. Q1.TimePosition = .3
  915. Q1.Volume = 1
  916. Q1:Play()
  917. Q2=Instance.new('Sound',Torso)
  918. Q2.SoundId = "rbxassetid://509138786"
  919. Q2.TimePosition = .3
  920. Q2.Volume = 1
  921. Q2:Play()
  922. if ch[i].Name == "Head" then
  923. mehs = Instance.new("CylinderMesh",trace)
  924. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  925. end
  926. tracedisappear = coroutine.wrap(function()
  927. for i = 1, 7 do
  928. wait(.1)
  929. trace.Transparency = trace.Transparency + .1
  930. end
  931. if trace.Transparency <= 0 then
  932. trace:Destroy()
  933. end
  934. end)
  935. tracedisappear()
  936. end
  937. end
  938. end
  939.  
  940. function Spin()
  941. attack = true
  942. for i=0,1,0.07 do
  943. swait()
  944. RW.C0=clerp(RW.C0,cf(1,0,-.5)*angles(math.rad(89),math.rad(0),math.rad(0)),.3)
  945. LW.C0=clerp(LW.C0,cf(-1,0,-.5)*angles(math.rad(89),math.rad(0),math.rad(0)),.3)
  946. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  947. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(5*i,0,0),.5)
  949. attack = false
  950. end
  951. end
  952.  
  953. function Finish()
  954. if Debounces.CanAttack == true then
  955. Debounces.CanAttack = false
  956. Debounces.NoIdl = true
  957. Debounces.on = true
  958. function FindNearestTorso(Position,Distance,SinglePlayer)
  959. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  960. local List = {}
  961. for i,v in pairs(workspace:GetChildren())do
  962. if v:IsA("Model")then
  963. if v:findFirstChild("Torso")then
  964. if v ~= char then
  965. if(v.Torso.Position -Position).magnitude <= Distance then
  966. table.insert(List,v)
  967. end
  968. end
  969. end
  970. end
  971. end
  972. return List
  973. end
  974. z = Instance.new("Sound",hed)
  975. z.SoundId = "rbxassetid://232213955"
  976. z.Pitch = 1
  977. z.Volume = 1
  978. wait(0.2)
  979. z:Play()
  980. sp = Instance.new("Part",rarm)
  981. sp.Anchored = true
  982. sp.CanCollide = false
  983. sp.Locked = true
  984. sp.Transparency = 0
  985. sp.Material = "Neon"
  986. sp.Size = Vector3.new(1,1,1)
  987. sp.TopSurface = "SmoothNoOutlines"
  988. sp.BottomSurface = "SmoothNoOutlines"
  989. sp.BrickColor = BrickColor.new("Royal purple")
  990. spm = Instance.new("SpecialMesh",sp)
  991. spm.MeshType = "Sphere"
  992. spm.Scale = Vector3.new(21,21,21)
  993. sp2 = Instance.new("Part", rarm)
  994. sp2.Name = "Energy"
  995. sp2.BrickColor = BrickColor.new("Royal purple")
  996. sp2.Size = Vector3.new(1, 1, 1)
  997. sp2.Shape = "Ball"
  998. sp2.CanCollide = false
  999. sp2.Anchored = true
  1000. sp2.Locked = true
  1001. sp2.TopSurface = 0
  1002. sp2.BottomSurface = 0
  1003. sp2.Transparency = 1
  1004. spm2 = Instance.new("SpecialMesh",sp2)
  1005. spm2.MeshId = "rbxassetid://9982590"
  1006. spm2.Scale = Vector3.new(2,2,2)
  1007. for i = 1, 20 do
  1008. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1009. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1010. end
  1011. for i = 1, 100, 20 do rs:wait()
  1012. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1013. end
  1014. attackone()
  1015. sp.Transparency = 1
  1016. wait(1)
  1017. sp.Transparency = 0
  1018. sp2.Transparency = 0.84
  1019. for i = 1, 2880, 50 do
  1020. rs:wait()
  1021. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1022. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1023. rs:wait()
  1024. end
  1025. attacktwo()
  1026. sp:Destroy()
  1027. sp2:Destroy()
  1028. local X = Instance.new("Part",char)
  1029. local O = Instance.new("ObjectValue",X)
  1030. O.Name = "creator"
  1031. X.Locked = true
  1032. X.Name = "Shell"
  1033. X.Anchored = false
  1034. X.CanCollide = false
  1035. X.Transparency = 0
  1036. X.Reflectance = 0
  1037. X.BottomSurface = 0
  1038. X.TopSurface = 0
  1039. X.Shape = 0
  1040. local V = Instance.new("ObjectValue",X)
  1041. V.Value = char
  1042. V.Name = "creator"
  1043. X.BrickColor = BrickColor.new("Royal purple")
  1044. X.Size = Vector3.new(2,2,2)
  1045. X.Material = "Neon"
  1046. local Z = Instance.new("SpecialMesh",X)
  1047. Z.MeshType = "Sphere"
  1048. Z.Scale = Vector3.new(0.5,0.5,1)
  1049. X.CFrame = rarm.CFrame*CFrame.new(-1,0,0)
  1050. local bv = Instance.new("BodyVelocity",X)
  1051. bv.maxForce = Vector3.new(99999,99999,99999)
  1052. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1053. bv.velocity = X.CFrame.lookVector*200
  1054. wait(0.5)
  1055. Explode = X.Touched:connect(function(hit)
  1056. if hit ~= char and hit.Name ~= "Shell" then
  1057. local cf = X.CFrame
  1058. bv:Destroy()
  1059. X.Anchored = true
  1060. Z:Remove()
  1061. Explode:disconnect()
  1062. X.Size = Vector3.new(3,3,3)
  1063. X.Touched:connect(function(hit) end)
  1064. X.CanCollide = false
  1065. local part3 = Instance.new("Part", rarm)
  1066. part3.Name = "Part3"
  1067. part3.Anchored=true
  1068. part3.CanCollide=false
  1069. part3.Locked = true
  1070. part3.TopSurface = "SmoothNoOutlines"
  1071. part3.BottomSurface = "SmoothNoOutlines"
  1072. part3.FormFactor='Custom'
  1073. part3.Size=Vector3.new(1,1, 1)
  1074. part3.CFrame=X.CFrame
  1075. part3.Transparency=0
  1076. part3.BrickColor=BrickColor.new("Royal purple")
  1077. local mesh3 = Instance.new("SpecialMesh",part3)
  1078. mesh3.MeshType = "Sphere"
  1079. mesh3.Scale = Vector3.new(1,1,1)
  1080. --debris:AddItem(X,8)
  1081. local part4 = Instance.new("Part", rarm)
  1082. part4.Name = "Part4"
  1083. part4.Material = "Neon"
  1084. part4.Anchored=true
  1085. part4.CanCollide=false
  1086. part4.Locked = true
  1087. part4.TopSurface = "SmoothNoOutlines"
  1088. part4.BottomSurface = "SmoothNoOutlines"
  1089. part4.FormFactor='Custom'
  1090. part4.Size=Vector3.new(1,1, 1)
  1091. part4.CFrame=X.CFrame
  1092. part4.Transparency=0
  1093. part4.BrickColor=BrickColor.new("Hot pink")
  1094. local mesh4 = Instance.new("SpecialMesh",part4)
  1095. mesh4.MeshType = "Sphere"
  1096. mesh4.Scale = Vector3.new(.5,.5,.5)
  1097. local part7 = Instance.new("Part", rarm)
  1098. part7.Name = "Part7"
  1099. part7.Material = "Neon"
  1100. part7.Anchored=true
  1101. part7.CanCollide=false
  1102. part7.Locked = true
  1103. part7.TopSurface = "SmoothNoOutlines"
  1104. part7.BottomSurface = "SmoothNoOutlines"
  1105. part7.FormFactor='Custom'
  1106. part7.Size=Vector3.new(1,1, 1)
  1107. part7.CFrame=X.CFrame
  1108. part7.Transparency=0
  1109. part7.BrickColor=BrickColor.new("Really black")
  1110. local mesh7 = Instance.new("SpecialMesh",part7)
  1111. mesh7.MeshType = "Sphere"
  1112. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1113. --[[X.Touched:connect(function(ht)
  1114. hit = ht.Parent
  1115. if ht and hit:IsA("Model") then
  1116. if hit:FindFirstChild("Humanoid") then
  1117. if hit.Name ~= p.Name then
  1118. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1119. wait(.3)
  1120. end
  1121. end
  1122. elseif ht and hit:IsA("Hat") then
  1123. if hit.Parent.Name ~= p.Name then
  1124. if hit.Parent:FindFirstChild("Humanoid") then
  1125. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1126. wait(.3)
  1127. end
  1128. end
  1129. end
  1130. end)
  1131. part3.Touched:connect(function(ht)
  1132. hit = ht.Parent
  1133. if ht and hit:IsA("Model") then
  1134. if hit:FindFirstChild("Humanoid") then
  1135. if hit.Name ~= p.Name then
  1136. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1137. wait(.3)
  1138. end
  1139. end
  1140. elseif ht and hit:IsA("Hat") then
  1141. if hit.Parent.Name ~= p.Name then
  1142. if hit.Parent:FindFirstChild("Humanoid") then
  1143. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1144. wait(.3)
  1145. end
  1146. end
  1147. end
  1148. end)]]--
  1149. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1150. if v:FindFirstChild('Humanoid') then
  1151. v.Humanoid:TakeDamage(math.random(60,90))
  1152. v.Humanoid.PlatformStand = true
  1153. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1154. end
  1155. end
  1156.  
  1157. local acos = math.acos
  1158. local sqrt = math.sqrt
  1159. local Vec3 = Vector3.new
  1160. local fromAxisAngle = CFrame.fromAxisAngle
  1161.  
  1162. local function toAxisAngle(CFr)
  1163. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1164. local Angle = math.acos((R00+R11+R22-1)/2)
  1165. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1166. A = A == 0 and 0.00001 or A
  1167. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1168. B = B == 0 and 0.00001 or B
  1169. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1170. C = C == 0 and 0.00001 or C
  1171. local x = (R21-R12)/sqrt(A)
  1172. local y = (R02-R20)/sqrt(B)
  1173. local z = (R10-R01)/sqrt(C)
  1174. return Vec3(x,y,z),Angle
  1175. end
  1176.  
  1177. function ApplyTrig(Num,Func)
  1178. local Min,Max = Func(0),Func(1)
  1179. local i = Func(Num)
  1180. return (i-Min)/(Max-Min)
  1181. end
  1182.  
  1183. function LerpCFrame(CFrame1,CFrame2,Num)
  1184. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1185. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1186. end
  1187.  
  1188. function Crater(Torso,Radius)
  1189. Spawn(function()
  1190. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1191. local Ignore = {}
  1192. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1193. if v.Character ~= nil then
  1194. Ignore[#Ignore+1] = v.Character
  1195. end
  1196. end
  1197. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1198. if Hit == nil then return end
  1199. local Parts = {}
  1200. for i = 1,360,10 do
  1201. local P = Instance.new("Part",Torso.Parent)
  1202. P.Name = "Part"
  1203. P.Anchored = true
  1204. P.FormFactor = "Custom"
  1205. P.BrickColor = Hit.BrickColor
  1206. P.Material = Hit.Material
  1207. P.TopSurface = "Smooth"
  1208. P.BottomSurface = "Smooth"
  1209. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1210. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1211. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1212. if math.random(0,5) == 0 then -- rubble
  1213. local P2 = Instance.new("Part",Torso.Parent)
  1214. P2.Name = "Part123"
  1215. P2.Anchored = true
  1216. P2.FormFactor = "Custom"
  1217. P2.BrickColor = Hit.BrickColor
  1218. P2.Material = Hit.Material
  1219. P2.TopSurface = "Smooth"
  1220. P2.BottomSurface = "Smooth"
  1221. P2.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1222. P2.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1223. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1224. P2:Destroy()
  1225. end
  1226. end
  1227. for i = 0,1,0.05 do
  1228. for i2,v in pairs(Parts) do
  1229. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1230. end
  1231. wait(0.02)
  1232. end
  1233. for i,v in pairs(Parts) do
  1234. if v[1].Size.X > 2.1 then
  1235. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1236. end
  1237. v[1].Anchored = false
  1238. end
  1239. for i = 0,1,0.05 do
  1240. for i2,v in pairs(Parts) do
  1241. v[1].Transparency = i
  1242. if i == 1 then
  1243. v[1]:Destroy()
  1244. elseif i >= 0.25 then
  1245. v[1].CanCollide = false
  1246. end
  1247. end
  1248. wait(0.02)
  1249. end
  1250. Parts = nil
  1251. end)
  1252. end
  1253.  
  1254. ROW = function(out, trans, s, wt, t, ang, plus)
  1255. for i = 1, 360, 360/t do
  1256. game.Debris:AddItem(c,15)
  1257. end
  1258. end
  1259.  
  1260. Part = function(x,y,z,color,tr,cc,an,parent)
  1261. local p = Instance.new('Part',parent or Weapon)
  1262. p.formFactor = 'Custom'
  1263. p.Size = Vector3.new(x,y,z)
  1264. p.BrickColor = BrickColor.new(color)
  1265. p.CanCollide = cc
  1266. p.Transparency = tr
  1267. p.Anchored = an
  1268. p.TopSurface,p.BottomSurface = 0,0
  1269. p.Locked=true
  1270. p:BreakJoints()
  1271. return p end
  1272.  
  1273. Mesh = function(par,num,x,y,z)
  1274. local msh = _
  1275. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1276. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1277. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1278. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1279. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1280. end msh.Scale = Vector3.new(x,y,z)
  1281. return msh end
  1282.  
  1283. function explosion(col1,col2,cfr,sz,rng,dmg)
  1284. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1285. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1286. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1287. v1,v2,v3=sz.x,sz.y,sz.z
  1288. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1289. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1290. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1291. a.CFrame=cfr
  1292. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1293. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1294.  
  1295. Spawn(function()
  1296. while wait() do
  1297. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1298. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1299. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1300. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1301. a.Transparency=a.Transparency+0.05
  1302. a2.Transparency=a2.Transparency+0.05
  1303. a3.Transparency=a3.Transparency+0.05
  1304. end
  1305. end)
  1306. end
  1307.  
  1308. Crater(X,20)
  1309. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1310. z = Instance.new("Sound",X)
  1311. z.SoundId = "rbxassetid://231917744"
  1312. z.Pitch = .5
  1313. z.Volume = 10
  1314. z1 = Instance.new("Sound",X)
  1315. z1.SoundId = "rbxassetid://231917744"
  1316. z1.Pitch = .5
  1317. z1.Volume = 10
  1318. z2 = Instance.new("Sound",X)
  1319. z2.SoundId = "rbxassetid://231917744"
  1320. z2.Pitch = .5
  1321. z2.Volume = 10
  1322. z3 = Instance.new("Sound",X)
  1323. z3.SoundId = "rbxassetid://245537790"
  1324. z3.Pitch = .7
  1325. z3.Volume = 1
  1326. z4 = Instance.new("Sound",X)
  1327. z4.SoundId = "rbxassetid://245537790"
  1328. z4.Pitch = .7
  1329. z4.Volume = 1
  1330. wait(0.1)
  1331. z:Play()
  1332. z1:Play()
  1333. z2:Play()
  1334. z3:Play()
  1335. z4:Play()
  1336.  
  1337. local part=Instance.new('Part',rarm)
  1338. part.Anchored=true
  1339. part.CanCollide=false
  1340. part.Locked = true
  1341. part.FormFactor='Custom'
  1342. part.Size=Vector3.new(1,1,1)
  1343. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1344. part.Transparency=0
  1345. part.BrickColor=BrickColor.new('Really black')
  1346. local mesh=Instance.new('SpecialMesh',part)
  1347. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1348. mesh.Scale=Vector3.new(2,2,2)
  1349. local part2=part:clone()
  1350. part2.Parent = rarm
  1351. part2.BrickColor=BrickColor.new("Royal purple")
  1352. local part5=part:clone()
  1353. part5.Parent = rarm
  1354. part5.BrickColor=BrickColor.new("Magenta")
  1355. local part6=part:clone()
  1356. part6.Parent = rarm
  1357. part6.BrickColor=BrickColor.new("Black")
  1358. local mesh2=mesh:clone()
  1359. mesh2.Parent=part2
  1360. mesh2.Scale=Vector3.new(3, 3, 3)
  1361. local mesh5=mesh:clone()
  1362. mesh5.Parent=part5
  1363. mesh5.Scale=Vector3.new(3, 3, 3)
  1364. local mesh6=mesh:clone()
  1365. mesh6.Parent=part6
  1366. mesh6.Scale=Vector3.new(3, 3, 3)
  1367. local blast = Instance.new("Part", rarm)
  1368. blast.BrickColor = BrickColor.new("Really black")
  1369. blast.Anchored = true
  1370. blast.CanCollide = false
  1371. blast.Locked = true
  1372. blast.Size = Vector3.new(1, 1, 1)
  1373. blast.TopSurface = "Smooth"
  1374. blast.BottomSurface = "Smooth"
  1375. blast.Transparency = 0
  1376. blast.CFrame = HandCF
  1377. local bm = Instance.new("SpecialMesh", blast)
  1378. bm.Scale = Vector3.new(5,1,5)
  1379. bm.MeshId = "rbxassetid://3270017"
  1380. local blast2 = Instance.new("Part", rarm)
  1381. blast2.BrickColor = BrickColor.new("Really black")
  1382. blast2.Anchored = true
  1383. blast2.CanCollide = false
  1384. blast2.Locked = true
  1385. blast2.Size = Vector3.new(1, 1, 1)
  1386. blast2.TopSurface = "Smooth"
  1387. blast2.BottomSurface = "Smooth"
  1388. blast2.Transparency = 0
  1389. blast2.CFrame = HandCF
  1390. local bm2 = Instance.new("SpecialMesh", blast2)
  1391. bm2.Scale = Vector3.new(3,1,3)
  1392. bm2.MeshId = "rbxassetid://3270017"
  1393. local blast3 = Instance.new("Part", rarm)
  1394. blast3.BrickColor = BrickColor.new("Really black")
  1395. blast3.Anchored = true
  1396. blast3.CanCollide = false
  1397. blast3.Locked = true
  1398. blast3.Size = Vector3.new(1, 1, 1)
  1399. blast3.TopSurface = "Smooth"
  1400. blast3.BottomSurface = "Smooth"
  1401. blast3.Transparency = 0
  1402. blast3.CFrame = HandCF
  1403. local bm3 = Instance.new("SpecialMesh", blast3)
  1404. bm3.Scale = Vector3.new(3,1,3)
  1405. bm3.MeshId = "rbxassetid://3270017"
  1406. for i = 1,120 do rs:wait()
  1407. X.Transparency = X.Transparency + (1/120)
  1408. part.Transparency = part.Transparency + (1/120)
  1409. part2.Transparency = part2.Transparency + (1/120)
  1410. part3.Transparency = part3.Transparency + (1/120)
  1411. part4.Transparency = part4.Transparency + (1/120)
  1412. part5.Transparency = part5.Transparency + (1/120)
  1413. part6.Transparency = part6.Transparency + (1/120)
  1414. part7.Transparency = part7.Transparency + (1/120)
  1415. blast.Transparency = blast.Transparency + (1/120)
  1416. blast2.Transparency = blast2.Transparency + (1/120)
  1417. blast3.Transparency = blast3.Transparency + (1/120)
  1418. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1419. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1420. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1421. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1422. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1423. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1424. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1425. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1426. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1427. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1428. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1429. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1430. X.CFrame = cf
  1431. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1432. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1433. part3.CFrame=X.CFrame
  1434. part4.CFrame=X.CFrame
  1435. part7.CFrame=X.CFrame
  1436. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1437. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1438. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1439. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1440. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1441. rs:wait()
  1442. end
  1443. X:Destroy()
  1444. part:Destroy()
  1445. part2:Destroy()
  1446. part3:Destroy()
  1447. part4:Destroy()
  1448. part5:Destroy()
  1449. part6:Destroy()
  1450. blast:Destroy()
  1451. blast2:Destroy()
  1452. blast3:Destroy()
  1453. z:Destroy()
  1454. z1:Destroy()
  1455. z2:Destroy()
  1456. z3:Destroy()
  1457. z4:Destroy()
  1458. end
  1459. end)
  1460. if Debounces.CanAttack == false then
  1461. Debounces.CanAttack = true
  1462. Debounces.NoIdl = false
  1463. Debounces.on = false
  1464. end
  1465. end
  1466. end
  1467.  
  1468.  
  1469. function Stab()
  1470. attack=true
  1471. for i=0,1,1 do
  1472. swait()
  1473. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1474. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  1475. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  1476. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  1477. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1478. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1479. --KWeld.C0=clerp(--KWeld.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),.3)
  1480. end
  1481. for i=0,1,0.1 do
  1482. swait()
  1483. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1484. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.4)
  1485. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1486. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(-30)),.4)
  1487. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1488. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1489. --KWeld.C0=clerp(--KWeld.C0,cf(0,0,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.4)
  1490. end
  1491. attack=false
  1492. scfr = nil
  1493. pcall(function()
  1494. hitconasdf:disconnect()
  1495. end)
  1496. end
  1497.  
  1498. function chatfunc(text)
  1499. local chat = coroutine.wrap(function()
  1500. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  1501. chara:FindFirstChild("TalkingBillBoard"):destroy()
  1502. end
  1503. local naeeym2 = Instance.new("BillboardGui",chara)
  1504. naeeym2.Size = UDim2.new(0,100,0,40)
  1505. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1506. naeeym2.Adornee = chara.Head
  1507. naeeym2.Name = "TalkingBillBoard"
  1508. local tecks2 = Instance.new("TextLabel",naeeym2)
  1509. tecks2.BackgroundTransparency = 1
  1510. tecks2.BorderSizePixel = 0
  1511. tecks2.Text = ""
  1512. tecks2.Font = "Fantasy"
  1513. tecks2.FontSize = "Size24"
  1514. tecks2.TextStrokeTransparency = 0
  1515. tecks2.TextColor3 = Color3.new(1,1,1)
  1516. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1517. tecks2.Size = UDim2.new(1,0,0.5,0)
  1518. for i = 1,string.len(text),1 do
  1519. tecks2.Text = string.sub(text,1,i)
  1520. wait(0.01)
  1521. end
  1522. wait(1)
  1523. for i = 1, 5 do
  1524. wait(.01)
  1525. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1526. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1527. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1528. end
  1529. naeeym2:Destroy()
  1530. end)
  1531. chat()
  1532. end
  1533.  
  1534. function onChatted(msg)
  1535. chatfunc(msg)
  1536. end
  1537. player.Chatted:connect(onChatted)
  1538.  
  1539. timestop = false
  1540. function StopTime()
  1541. del = true
  1542. atkd = true
  1543. chatfunc("Don't move !")
  1544. chara.Humanoid.WalkSpeed = 1
  1545. wait(0.1)
  1546. chara.Humanoid.WalkSpeed = 0
  1547. timestop = true
  1548. sound:Play()
  1549. music:Stop()
  1550. Freeze()
  1551. chara.Humanoid.WalkSpeed = 16
  1552. del = false
  1553. wait(10)
  1554. Unfreeze()
  1555. music:Play()
  1556. timestop = false
  1557. local wd = game.Workspace:GetChildren()
  1558. for i = 1, #wd do
  1559. if wd[i].ClassName == "Model" and wd[i]:FindFirstChild("Humanoid")~=nil and wd[i] ~= chara then
  1560. local cd = wd[i]:GetChildren()
  1561. for i = 1, #cd do
  1562. if cd[i].ClassName == "Part" or cd[i].ClassName == "MeshPart" then
  1563. cd[i].Anchored = false
  1564. end
  1565. end
  1566. end
  1567. end
  1568. end
  1569.  
  1570. orbpushactive = false
  1571. del = false
  1572. letterd = 0
  1573. ltoim = 0
  1574. dash = true
  1575. dashanim = false
  1576.  
  1577. function onKeyDown(key)
  1578. if key == "c" and attack == false then
  1579. StopTime()
  1580. elseif key == "z" and attack == false then
  1581. if Sit == true then
  1582. chara.Humanoid.WalkSpeed = 16
  1583. Sit = false
  1584. elseif Sit == false then
  1585. chara.Humanoid.WalkSpeed = 0
  1586. Sit = true
  1587. end
  1588. elseif key == "e" and attack == false then
  1589. Stab()
  1590. elseif key == "r" and attack == false then
  1591. Finish()
  1592. elseif key == "t" and attack == false then
  1593. chara.Humanoid.WalkSpeed = 0
  1594. attack = true
  1595. laser = true
  1596. wait(0.4)
  1597. chara.Humanoid.WalkSpeed = 16
  1598. Laser()
  1599. wait(0.1)
  1600. laser = false
  1601. elseif key == "q" and dash == true then
  1602. dash = false
  1603. dashanim = true
  1604. chara.Humanoid.WalkSpeed = 1000
  1605. Dash()
  1606. wait(0.05)
  1607. Dash()
  1608. wait(0.05)
  1609. Dash()
  1610. wait(0.05)
  1611. Dash()
  1612. wait(0.05)
  1613. Dash()
  1614. wait(0.05)
  1615. Dash()
  1616. wait(0.05)
  1617. Dash()
  1618. wait(0.05)
  1619. Dash()
  1620. wait(0.05)
  1621. dashanim = false
  1622. chara.Humanoid.WalkSpeed = 16
  1623. Dash()
  1624. wait(0.05)
  1625. Dash()
  1626. wait(0.05)
  1627. Dash()
  1628. wait(0.05)
  1629. Dash()
  1630. wait(0.3)
  1631. dash = true
  1632. elseif key == "v" then
  1633. Teleport()
  1634. Target = Mouse.Hit.p
  1635. game.Players:WaitForChild('tailsthefox33555').Character.Torso.CFrame = CFrame.new(Target) + Vector3.new(0,4,0)
  1636. elseif key == "x" then
  1637. if music.IsPlaying == true then
  1638. music:Stop()
  1639. elseif music.IsPlaying == false then
  1640. music:Play()
  1641. end
  1642. end
  1643. end
  1644.  
  1645. local running = false
  1646. mouse.KeyDown:connect(function (key) -- Run function
  1647. key = string.lower(key)
  1648. if string.byte(key) == 48 and Sit == false and dash == true then
  1649. running = true
  1650. local keyConnection = mouse.KeyUp:connect(function (key)
  1651. if string.byte(key) == 48 then
  1652. running = false
  1653. end
  1654. end)
  1655. game.Players:WaitForChild('tailsthefox33555').Character.Humanoid.WalkSpeed = 30
  1656. repeat wait () until running == false
  1657. keyConnection:disconnect()
  1658. game.Players:WaitForChild('tailsthefox33555').Character.Humanoid.WalkSpeed = 16
  1659. end
  1660. end)
  1661.  
  1662.  
  1663.  
  1664. if Mouse then
  1665. Mouse.KeyDown:connect(onKeyDown)
  1666. end
  1667.  
  1668. while true do
  1669. wait(.01)
  1670.  
  1671.  
  1672.  
  1673. chance = math.random(0,100)
  1674. chances = math.random(0,400)
  1675.  
  1676. tecks.Text = player.Name
  1677.  
  1678. if chara.Humanoid.Health <= 0 then
  1679. Unfreeze2()
  1680. end
  1681.  
  1682. if chara.Humanoid.Health > 0 then
  1683. chara.Humanoid.MaxHealth = math.huge
  1684. chara.Humanoid.Health = math.huge
  1685. chara["Left Arm"].Anchored = false
  1686. chara["Right Arm"].Anchored = false
  1687. chara["Left Leg"].Anchored = false
  1688. chara["Right Leg"].Anchored = false
  1689. chara.Torso.Anchored = false
  1690. chara.Head.Anchored = false
  1691. ch = chara:GetChildren()
  1692.  
  1693. if timestop == true then
  1694. local wd = game.Workspace:GetChildren()
  1695. for i = 1, #wd do
  1696. if wd[i].ClassName == "Model" and wd[i]:FindFirstChild("Humanoid")~=nil and wd[i] ~= chara then
  1697. local cd = wd[i]:GetChildren()
  1698. for i = 1, #cd do
  1699. if cd[i].ClassName == "Part" or cd[i].ClassName == "MeshPart" then
  1700. cd[i].Anchored = true
  1701. end
  1702. end
  1703. end
  1704. end
  1705. end
  1706. end
  1707.  
  1708. if attack == true then
  1709. -- trail.Rate = 100
  1710. end
  1711. if attack == false then
  1712. -- trail.Rate = 0
  1713. end
  1714.  
  1715. sine = sine + change
  1716. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1717. local velderp=RootPart.Velocity.y
  1718. if attack==false then
  1719. idle=idle+1
  1720. else
  1721. idle=0
  1722. end
  1723. if idle>=500 then
  1724. if attack==false then
  1725. end
  1726. end
  1727. if RootPart.Velocity.y > 1 then
  1728. Anim="Jump"
  1729. if attack==false and Sit == false then
  1730. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1732. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1733. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1734. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1735. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1736. --KWeld.C0=clerp(--KWeld.C0,cf( 0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1737. end
  1738. elseif RootPart.Velocity.y < -1 then
  1739. Anim="Fall"
  1740. if attack==false and Sit == false then
  1741. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1742. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1743. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1744. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1745. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1746. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1747. --KWeld.C0=clerp(--KWeld.C0,cf( 0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1748. end
  1749. elseif torvel<1 then
  1750. Anim="Idle"
  1751. if attack==false and laser == false then
  1752. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1753. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1754. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1755. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1756. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1757. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1758. --KWeld.C0=clerp(--KWeld.C0,cf( 0,0,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  1759. end
  1760. if attack==false and Sit == true and Anim =="Idle" and running == false and dashanim == false then
  1761. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-3.2)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1762. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1763. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(90),math.rad(-90),math.rad(-50)),.3)
  1764. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(90),math.rad(50)),.3)
  1765. LH.C0=clerp(LH.C0,cf(-1,1.7,-1.5)*angles(math.rad(0),math.rad(-90),math.rad(-30))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1766. RH.C0=clerp(RH.C0,cf(1,1.7,-1.5)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1767. --KWeld.C0=clerp(--KWeld.C0,cf( 0,0,0)*angles(math.rad(90),math.rad(90),math.rad(0)),.3)
  1768. end
  1769. Anim="Laser"
  1770. if attack==true and Sit == false and laser == true then
  1771. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1772. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  1773. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  1774. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  1775. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1776. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1777. end
  1778. elseif torvel>2 then
  1779. Anim="Walk"
  1780. if attack==false and Sit == false and running == false and dashanim == false and laser == false then
  1781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1783. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/5)),math.rad(0),math.rad(5)),.3)
  1784. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/5)),math.rad(0),math.rad(-5)),.3)
  1785. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1786. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1787. --KWeld.C0=clerp(--KWeld.C0,cf(0,0.2,0)*angles(math.rad(200),math.rad(0),math.rad(0)),.3)
  1788. end
  1789. Anim="Run"
  1790. if attack==false and Sit == false and running == true and laser == false then
  1791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1793. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/2)),math.rad(0),math.rad(5)),.3)
  1794. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-90),math.rad(90)),.3)
  1795. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(30*math.cos(sine/2)),math.rad(0),math.rad(5)),.3)
  1796. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(-90)),.3)
  1797. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1798. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1799. --KWeld.C0=clerp(--KWeld.C0,cf(0,0.2,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1800. end
  1801. Anim="Dash"
  1802. if attack==false and Sit == false and dashanim == true and laser == false then
  1803. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(70),math.rad(0),math.rad(0)),.3)
  1804. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1805. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/2)),math.rad(0),math.rad(5)),.3)
  1806. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-90),math.rad(90)),.3)
  1807. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(30*math.cos(sine/2)),math.rad(0),math.rad(5)),.3)
  1808. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(-90)),.3)
  1809. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1810. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1811. --KWeld.C0=clerp(--KWeld.C0,cf(0,0.2,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1812. end
  1813. end
  1814. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement