Advertisement
MaxNutellaOML

Flash

May 6th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.57 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local deb = false
  3.  
  4. while not plr.Character do wait() end
  5. wait(0.1)
  6.  
  7. warn("Timestop loaded. R to toggle time.")
  8.  
  9. local tstab = {}
  10. local tsstab = {}
  11. local ignlist = {}
  12. local stab = {}
  13.  
  14. function plrIgnore(char)
  15. for i,v in pairs(char:GetChildren()) do
  16. if #v:GetChildren() >= 1 then
  17. plrIgnore(v)
  18. end
  19. table.insert(ignlist,v)
  20. end
  21. end
  22.  
  23. function timeStop(target)
  24. for i,v in pairs(target:GetChildren()) do
  25. if #v:GetChildren() >= 1 then
  26. timeStop(v)
  27. end
  28. local isinign = false
  29. for i,b in pairs(ignlist) do
  30. if b == v then
  31. isinign = true
  32. end
  33. end
  34. if isinign == false then
  35. if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("UnionOperation") then
  36. if v.Anchored == false then
  37. table.insert(tstab,v)
  38. v.Anchored = true
  39. end
  40. end
  41. if v:IsA("Sound") then
  42. local isintab = false
  43. for i,b in pairs(stab) do
  44. if v == b[2] then
  45. isintab = true
  46. end
  47. end
  48. if isintab == false then
  49. table.insert(stab,{v,v.Pitch})
  50. end
  51. end
  52. --[[if v:IsA("Script") or v:IsA("LocalScript") then
  53. if v.Disabled == false then
  54. table.insert(tsstab,v)
  55. v.Disabled = true
  56. end
  57. end]]
  58. end
  59. end
  60. local isinign = false
  61. for i,b in pairs(ignlist) do
  62. if b == target then
  63. isinign = true
  64. end
  65. end
  66. if isinign == false then
  67. if target:IsA("Part") or target:IsA("WedgePart") or target:IsA("UnionOperation") then
  68. if target.Anchored == false then
  69. table.insert(tstab,target)
  70. target.Anchored = true
  71. end
  72. end
  73. if target:IsA("Sound") then
  74. table.insert(stab,{target,target.Pitch})
  75. end
  76. end
  77. end
  78.  
  79. plr:GetMouse().KeyDown:connect(function(key)
  80. if key == "r" then
  81. if deb == true then
  82. deb = false
  83. else
  84. deb = true
  85. local cc = Instance.new("ColorCorrectionEffect",game:GetService("Lighting"))
  86. spawn(function()
  87. plr.Character.Humanoid.WalkSpeed = 4
  88. plr.Character.Humanoid.JumpPower = 0
  89. local p = Instance.new("Part",plr.Character)
  90. p.Transparency = 0.5
  91. p.BrickColor = BrickColor.new("Deep blue")
  92. p.Size = Vector3.new(0.2,0.2,0.2)
  93. p.Anchored = true
  94. p.CanCollide = false
  95. p.CFrame = plr.Character.Torso.CFrame
  96. local m = Instance.new("SpecialMesh",p)
  97. m.MeshType = Enum.MeshType.Sphere
  98.  
  99. local r = 255
  100. local g = 255
  101. local b = 255
  102. local contrast = 2
  103.  
  104. for i=1,50 do
  105. m.Scale = m.Scale + Vector3.new(50,50,50)
  106. p.Transparency = p.Transparency + 0.5/50
  107. r = r - ((255-42)/50)
  108. g = g - ((255-0)/50)
  109. b = b - ((255-255)/50)
  110. contrast = contrast - 0/50
  111. --cc.TintColor = Color3.fromRGB(r,g,b)
  112. cc.Contrast = contrast
  113. for i,v in pairs(stab) do
  114. v[1].Pitch = v[1].Pitch - (v[2]/50)
  115. end
  116. wait()
  117. end
  118. p:Destroy()
  119. plr.Character.Humanoid.WalkSpeed = 3
  120. plr.Character.Humanoid.JumpPower = 50
  121. end)
  122.  
  123. local aNew = game:GetService("Workspace").ChildAdded:connect(function(c)
  124. timeStop(c)
  125. end)
  126.  
  127. for i,v in pairs(ignlist) do
  128. table.remove(ignlist,1)
  129. end
  130. plrIgnore(plr.Character)
  131. timeStop(game:GetService("Workspace"))
  132. while deb ~= false do wait() end
  133. --spawn(function()
  134. local r = 42
  135. local g = 0
  136. local b = 255
  137. local contrast = 2
  138. for i=1,50 do
  139. r = r + ((255-42)/50)
  140. g = g + ((255-0)/50)
  141. b = b + ((255-255)/50)
  142. contrast = contrast + 2/50
  143. --cc.TintColor = Color3.fromRGB(r,g,b)
  144. cc.Contrast = contrast
  145. for i,v in pairs(stab) do
  146. v[1].Pitch = v[1].Pitch + (v[2]/50)
  147. end
  148. wait()
  149. end
  150. cc:Destroy()
  151. --end)
  152. for i,v in pairs(tstab) do
  153. v.Anchored = false
  154. end
  155. for i,v in pairs(tstab) do
  156. table.remove(tstab,1)
  157. end
  158. --table.foreach(stab,print)
  159. for i,v in pairs(stab) do
  160. table.remove(stab,1)
  161. end
  162. --print("---------")
  163. --table.foreach(stab,print)
  164. --[[for i,v in pairs(tsstab) do
  165. v.Disabled = false
  166. end
  167. for i,v in pairs(tsstab) do
  168. table.remove(tsstab,1)
  169. end]]
  170. aNew:disconnect()
  171. deb = false
  172. end
  173. end
  174. end)
  175.  
  176. -- [ SANIIIC HES ON DA RAWN ] --
  177. wait()
  178. thing = 0
  179. LoudVolume = false
  180. Submerged = false
  181. Music = true
  182. script.Name = "SANIIIIC"
  183. Player = game.Players.LocalPlayer
  184. c = game.Players.LocalPlayer.Character
  185. Head = c.Head
  186. Humanoid = c.Humanoid
  187. anim = c.Humanoid.Animator
  188. rage = false
  189. p = game.Players.LocalPlayer
  190. Music = false
  191. anim = Humanoid.Animator
  192. local Effects = {}
  193. attack = false
  194. local attacking = false
  195. vt = Vector3.new
  196. bc = BrickColor.new
  197. br = BrickColor.random
  198. it = Instance.new
  199. cf = CFrame.new
  200. euler = CFrame.fromEulerAnglesXYZ
  201. angles = CFrame.Angles
  202. matr = math.random
  203. mouse = Player:GetMouse()
  204.  
  205. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  206. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  207. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  208. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  209. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  210. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  211. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  212. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  213. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  214. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  215. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  216. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  217. RS = c.Torso:FindFirstChild("Right Shoulder")
  218. LS = c.Torso:FindFirstChild("Left Shoulder")
  219. RH = c.Torso:FindFirstChild("Right Hip")
  220. LH = c.Torso:FindFirstChild("Left Hip")
  221. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  222. N = c.Torso:FindFirstChild("Neck")
  223. cf = CFrame.new
  224. ang = CFrame.Angles
  225. rd = math.rad
  226. rd2 = math.random
  227.  
  228. --[[mainShirt = c.Shirt
  229. mainPants = c.Pants
  230. mainBColors = c["Body Colors"]
  231. mainShirt.ShirtTemplate = "rbxassetid://769869277"
  232. mainPants.PantsTemplate = "rbxassetid://805486769"
  233. mainBColors.HeadColor = BrickColor.new("Pastel brown")
  234. mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
  235. mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
  236. mainBColors.RightArmColor = BrickColor.new("Pastel brown")
  237. mainBColors.RightLegColor = BrickColor.new("Pastel brown")
  238. mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
  239. function swait(num)
  240. if num==0 or num==nil then
  241. game:service'RunService'.Heartbeat:wait(0)
  242. else
  243. for i=0,num do
  244. game:service'RunService'.Heartbeat:wait(0)
  245. end
  246. end
  247. end
  248.  
  249. function lerpz(joint, prop, cfrmz, alp)
  250. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  251. end
  252. function resetlerp()
  253. RJ.C0 = RJC0
  254. RJ.C1 = RJC1
  255. N.C0 = NC0
  256. N.C1 = NC1
  257. RS.C0 = RSC0
  258. RS.C1 = RSC1
  259. LS.C0 = LSC0
  260. LS.C1 = LSC1
  261. RH.C0 = RHC0
  262. RH.C1 = RHC1
  263. LH.C0 = LHC0
  264. LH.C1 = LHC1
  265. end
  266.  
  267. local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://730211842" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
  268. c.Head.face:remove()
  269.  
  270. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(255/255,0/0,0/0)),ColorSequenceKeypoint.new(1, Color3.new(255/255,0/0,0/0))}
  271. local att1 = Instance.new("Attachment", c["Right Leg"])
  272. att1.Name = "att1"
  273. att1.Position = Vector3.new(0.5, 1, 0.5)
  274. local att2 = Instance.new("Attachment", c["Right Leg"])
  275. att2.Name = "att2"
  276. att2.Position = Vector3.new(-0.5, 1, 0.5)
  277. local att3 = Instance.new("Attachment", c["Right Leg"])
  278. att3.Name = "att3"
  279. att3.Position = Vector3.new(0.5, -1, 0.5)
  280. local att4 = Instance.new("Attachment", c["Right Leg"])
  281. att4.Name = "att4"
  282. att4.Position = Vector3.new(-0.5, -1, 0.5)
  283.  
  284. local attt1 = Instance.new("Attachment", c["Left Leg"])
  285. attt1.Name = "att1"
  286. attt1.Position = Vector3.new(0.5, 1, 0.5)
  287. local attt2 = Instance.new("Attachment", c["Left Leg"])
  288. attt2.Name = "att2"
  289. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  290. local attt3 = Instance.new("Attachment", c["Left Leg"])
  291. attt3.Name = "att3"
  292. attt3.Position = Vector3.new(0.5, -1, 0.5)
  293. local attt4 = Instance.new("Attachment", c["Left Leg"])
  294. attt4.Name = "att4"
  295. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  296.  
  297. local trailtop1 = Instance.new("Trail", c["Right Leg"])
  298. trailtop1.Enabled = true
  299. trailtop1.Texture = "rbxassetid://16607923"
  300. trailtop1.Name = "toptrail"
  301. trailtop1.MinLength = 0
  302. trailtop1.Lifetime = 0.1
  303.  
  304. trailtop1.Color = ColorSequence.new(ColorArray)
  305.  
  306. trailtop1.Attachment0 = att1
  307. trailtop1.Attachment1 = att2
  308. trailtop1.Transparency = NumberSequence.new({
  309. NumberSequenceKeypoint.new(0, 0.5, 0),
  310. NumberSequenceKeypoint.new(1, 0, 0)
  311. })
  312.  
  313. local trailbot1 = Instance.new("Trail", c["Right Leg"])
  314. trailbot1.Enabled = true
  315. trailbot1.Texture = "rbxassetid://16607923"
  316. trailbot1.Name = "bottrail"
  317. trailbot1.MinLength = 0
  318. trailbot1.Lifetime = 0.1
  319.  
  320. trailbot1.Color = ColorSequence.new(ColorArray)
  321.  
  322. trailbot1.Attachment0 = att3
  323. trailbot1.Attachment1 = att4
  324. trailbot1.Transparency = NumberSequence.new({
  325. NumberSequenceKeypoint.new(0, 0.5, 0),
  326. NumberSequenceKeypoint.new(1, 0, 0)
  327. })
  328.  
  329. local trailside1 = Instance.new("Trail", c["Right Leg"])
  330. trailside1.Enabled = true
  331. trailside1.Texture = "rbxassetid://16607923"
  332. trailside1.Name = "sidetrail1"
  333. trailside1.MinLength = 0
  334. trailside1.Lifetime = 0.1
  335.  
  336. trailside1.Color = ColorSequence.new(ColorArray)
  337.  
  338. trailside1.Attachment0 = att1
  339. trailside1.Attachment1 = att3
  340. trailside1.Transparency = NumberSequence.new({
  341. NumberSequenceKeypoint.new(0, 0.5, 0),
  342. NumberSequenceKeypoint.new(1, 0, 0)
  343. })
  344.  
  345. local trailside2 = Instance.new("Trail", c["Right Leg"])
  346. trailside2.Enabled = true
  347. trailside2.Texture = "rbxassetid://16607923"
  348. trailside2.Name = "sidetrail2"
  349. trailside2.MinLength = 0
  350. trailside2.Lifetime = 0.1
  351. spawn(function()
  352. while true do wait()
  353. trailside2.Color = ColorSequence.new(ColorArray)
  354. end
  355. end)
  356. trailside2.Attachment0 = att2
  357. trailside2.Attachment1 = att4
  358. trailside2.Transparency = NumberSequence.new({
  359. NumberSequenceKeypoint.new(0, 0.5, 0),
  360. NumberSequenceKeypoint.new(1, 0, 0)
  361. })
  362.  
  363.  
  364. local trailtop12 = Instance.new("Trail", c["Left Leg"])
  365. trailtop12.Enabled = true
  366. trailtop12.Texture = "rbxassetid://16607923"
  367. trailtop12.Name = "toptrail"
  368. trailtop12.MinLength = 0
  369. trailtop12.Lifetime = 0.1
  370. spawn(function()
  371. while true do wait()
  372. trailtop12.Color = ColorSequence.new(ColorArray)
  373. end
  374. end)
  375. trailtop12.Attachment0 = attt1
  376. trailtop12.Attachment1 = attt2
  377. trailtop12.Transparency = NumberSequence.new({
  378. NumberSequenceKeypoint.new(0, 0.5, 0),
  379. NumberSequenceKeypoint.new(1, 0, 0)
  380. })
  381.  
  382. local trailbot2 = Instance.new("Trail", c["Left Leg"])
  383. trailbot2.Enabled = true
  384. trailbot2.Texture = "rbxassetid://16607923"
  385. trailbot2.Name = "bottrail"
  386. trailbot2.MinLength = 0
  387. trailbot2.Lifetime = 0.1
  388.  
  389. trailbot2.Color = ColorSequence.new(ColorArray)
  390.  
  391. trailbot2.Attachment0 = attt3
  392. trailbot2.Attachment1 = attt4
  393. trailbot2.Transparency = NumberSequence.new({
  394. NumberSequenceKeypoint.new(0, 0.5, 0),
  395. NumberSequenceKeypoint.new(1, 0, 0)
  396. })
  397.  
  398. local trailside12 = Instance.new("Trail", c["Left Leg"])
  399. trailside12.Enabled = true
  400. trailside12.Texture = "rbxassetid://16607923"
  401. trailside12.Name = "sidetrail1"
  402. trailside12.MinLength = 0
  403. trailside12.Lifetime = 0.1
  404.  
  405. trailside12.Color = ColorSequence.new(ColorArray)
  406.  
  407. trailside12.Attachment0 = attt1
  408. trailside12.Attachment1 = attt3
  409. trailside12.Transparency = NumberSequence.new({
  410. NumberSequenceKeypoint.new(0, 0.5, 0),
  411. NumberSequenceKeypoint.new(1, 0, 0)
  412. })
  413.  
  414. local trailside22 = Instance.new("Trail", c["Left Leg"])
  415. trailside22.Enabled = true
  416. trailside22.Texture = "rbxassetid://16607923"
  417. trailside22.Name = "sidetrail2"
  418. trailside22.MinLength = 0
  419. trailside22.Lifetime = 0.1
  420.  
  421. trailside22.Color = ColorSequence.new(ColorArray)
  422.  
  423. trailside22.Attachment0 = attt2
  424. trailside22.Attachment1 = attt4
  425. trailside22.Transparency = NumberSequence.new({
  426. NumberSequenceKeypoint.new(0, 0.5, 0),
  427. NumberSequenceKeypoint.new(1, 0, 0)
  428. })
  429.  
  430.  
  431. local att1 = Instance.new("Attachment", c["Right Arm"])
  432. att1.Name = "att1"
  433. att1.Position = Vector3.new(0.5, 1, 0.5)
  434. local att2 = Instance.new("Attachment", c["Right Arm"])
  435. att2.Name = "att2"
  436. att2.Position = Vector3.new(-0.5, 1, 0.5)
  437. local att3 = Instance.new("Attachment", c["Right Arm"])
  438. att3.Name = "att3"
  439. att3.Position = Vector3.new(0.5, -1, 0.5)
  440. local att4 = Instance.new("Attachment", c["Right Arm"])
  441. att4.Name = "att4"
  442. att4.Position = Vector3.new(-0.5, -1, 0.5)
  443.  
  444. local attt1 = Instance.new("Attachment", c["Left Arm"])
  445. attt1.Name = "att1"
  446. attt1.Position = Vector3.new(0.5, 1, 0.5)
  447. local attt2 = Instance.new("Attachment", c["Left Arm"])
  448. attt2.Name = "att2"
  449. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  450. local attt3 = Instance.new("Attachment", c["Left Arm"])
  451. attt3.Name = "att3"
  452. attt3.Position = Vector3.new(0.5, -1, 0.5)
  453. local attt4 = Instance.new("Attachment", c["Left Arm"])
  454. attt4.Name = "att4"
  455. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  456.  
  457. local trailtop1 = Instance.new("Trail", c["Right Arm"])
  458. trailtop1.Enabled = true
  459. trailtop1.Texture = "rbxassetid://16607923"
  460. trailtop1.Name = "toptrail"
  461. trailtop1.MinLength = 0
  462. trailtop1.Lifetime = 0.1
  463.  
  464. trailtop1.Color = ColorSequence.new(ColorArray)
  465.  
  466. trailtop1.Attachment0 = att1
  467. trailtop1.Attachment1 = att2
  468. trailtop1.Transparency = NumberSequence.new({
  469. NumberSequenceKeypoint.new(0, 0.5, 0),
  470. NumberSequenceKeypoint.new(1, 1, 0)
  471. })
  472.  
  473. local trailbot1 = Instance.new("Trail", c["Right Arm"])
  474. trailbot1.Enabled = true
  475. trailbot1.Texture = "rbxassetid://16607923"
  476. trailbot1.Name = "bottrail"
  477. trailbot1.MinLength = 0
  478. trailbot1.Lifetime = 0.1
  479. spawn(function()
  480. while true do wait()
  481. trailbot1.Color = ColorSequence.new(ColorArray)
  482. end
  483. end)
  484. trailbot1.Attachment0 = att3
  485. trailbot1.Attachment1 = att4
  486. trailbot1.Transparency = NumberSequence.new({
  487. NumberSequenceKeypoint.new(0, 0.5, 0),
  488. NumberSequenceKeypoint.new(1, 1, 0)
  489. })
  490.  
  491. local trailside1 = Instance.new("Trail", c["Right Arm"])
  492. trailside1.Enabled = true
  493. trailside1.Texture = "rbxassetid://16607923"
  494. trailside1.Name = "sidetrail1"
  495. trailside1.MinLength = 0
  496. trailside1.Lifetime = 0.1
  497.  
  498. trailside1.Color = ColorSequence.new(ColorArray)
  499.  
  500. trailside1.Attachment0 = att1
  501. trailside1.Attachment1 = att3
  502. trailside1.Transparency = NumberSequence.new({
  503. NumberSequenceKeypoint.new(0, 0.5, 0),
  504. NumberSequenceKeypoint.new(1, 1, 0)
  505. })
  506.  
  507. local trailside2 = Instance.new("Trail", c["Right Arm"])
  508. trailside2.Enabled = true
  509. trailside2.Texture = "rbxassetid://16607923"
  510. trailside2.Name = "sidetrail2"
  511. trailside2.MinLength = 0
  512. trailside2.Lifetime = 0.1
  513.  
  514. trailside2.Color = ColorSequence.new(ColorArray)
  515.  
  516. trailside2.Attachment0 = att2
  517. trailside2.Attachment1 = att4
  518. trailside2.Transparency = NumberSequence.new({
  519. NumberSequenceKeypoint.new(0, 0.5, 0),
  520. NumberSequenceKeypoint.new(1, 1, 0)
  521. })
  522.  
  523.  
  524. local trailtop12 = Instance.new("Trail", c["Left Arm"])
  525. trailtop12.Enabled = true
  526. trailtop12.Texture = "rbxassetid://16607923"
  527. trailtop12.Name = "toptrail"
  528. trailtop12.MinLength = 0
  529. trailtop12.Lifetime = 0.1
  530.  
  531. trailtop12.Color = ColorSequence.new(ColorArray)
  532.  
  533. trailtop12.Attachment0 = attt1
  534. trailtop12.Attachment1 = attt2
  535. trailtop12.Transparency = NumberSequence.new({
  536. NumberSequenceKeypoint.new(0, 0.5, 0),
  537. NumberSequenceKeypoint.new(1, 1, 0)
  538. })
  539.  
  540. local trailbot2 = Instance.new("Trail", c["Left Arm"])
  541. trailbot2.Enabled = true
  542. trailbot2.Texture = "rbxassetid://16607923"
  543. trailbot2.Name = "bottrail"
  544. trailbot2.MinLength = 0
  545. trailbot2.Lifetime = 0.1
  546.  
  547. trailbot2.Color = ColorSequence.new(ColorArray)
  548.  
  549. trailbot2.Attachment0 = attt3
  550. trailbot2.Attachment1 = attt4
  551. trailbot2.Transparency = NumberSequence.new({
  552. NumberSequenceKeypoint.new(0, 0.5, 0),
  553. NumberSequenceKeypoint.new(1, 1, 0)
  554. })
  555.  
  556. local trailside12 = Instance.new("Trail", c["Left Arm"])
  557. trailside12.Enabled = true
  558. trailside12.Texture = "rbxassetid://16607923"
  559. trailside12.Name = "sidetrail1"
  560. trailside12.MinLength = 0
  561. trailside12.Lifetime = 0.1
  562.  
  563. trailside12.Color = ColorSequence.new(ColorArray)
  564.  
  565. trailside12.Attachment0 = attt1
  566. trailside12.Attachment1 = attt3
  567. trailside12.Transparency = NumberSequence.new({
  568. NumberSequenceKeypoint.new(0, 0.5, 0),
  569. NumberSequenceKeypoint.new(1, 1, 0)
  570. })
  571.  
  572. local trailside22 = Instance.new("Trail", c["Left Arm"])
  573. trailside22.Enabled = true
  574. trailside22.Texture = "rbxassetid://16607923"
  575. trailside22.Name = "sidetrail2"
  576. trailside22.MinLength = 0
  577. trailside22.Lifetime = 0.1
  578.  
  579. trailside22.Color = ColorSequence.new(ColorArray)
  580.  
  581. trailside22.Attachment0 = attt2
  582. trailside22.Attachment1 = attt4
  583. trailside22.Transparency = NumberSequence.new({
  584. NumberSequenceKeypoint.new(0, 0.5, 0),
  585. NumberSequenceKeypoint.new(1, 1, 0)
  586. })
  587.  
  588. local att1 = Instance.new("Attachment", c["Torso"])
  589. att1.Name = "att1"
  590. att1.Position = Vector3.new(1, 1, 0.5)
  591. local att2 = Instance.new("Attachment", c["Torso"])
  592. att2.Name = "att2"
  593. att2.Position = Vector3.new(-1, 1, 0.5)
  594. local att3 = Instance.new("Attachment", c["Torso"])
  595. att3.Name = "att3"
  596. att3.Position = Vector3.new(1, -1, 0.5)
  597. local att4 = Instance.new("Attachment", c["Torso"])
  598. att4.Name = "att4"
  599. att4.Position = Vector3.new(-1, -1, 0.5)
  600.  
  601. local attt1 = Instance.new("Attachment", c["Head"])
  602. attt1.Name = "att1"
  603. attt1.Position = Vector3.new(.55, .55, 0.025)
  604. local attt2 = Instance.new("Attachment", c["Head"])
  605. attt2.Name = "att2"
  606. attt2.Position = Vector3.new(-.55, .55, 0.025)
  607. local attt3 = Instance.new("Attachment", c["Head"])
  608. attt3.Name = "att3"
  609. attt3.Position = Vector3.new(.55, -.5, 0.025)
  610. local attt4 = Instance.new("Attachment", c["Head"])
  611. attt4.Name = "att4"
  612. attt4.Position = Vector3.new(-.55, -.5, 0.025)
  613. local trailtop1 = Instance.new("Trail", c["Torso"])
  614. trailtop1.Enabled = true
  615. trailtop1.Texture = "rbxassetid://16607923"
  616. trailtop1.Name = "toptrail"
  617. trailtop1.MinLength = 0
  618. trailtop1.Lifetime = 0.1
  619.  
  620. trailtop1.Color = ColorSequence.new(ColorArray)
  621.  
  622. trailtop1.Attachment0 = att1
  623. trailtop1.Attachment1 = att2
  624. trailtop1.Transparency = NumberSequence.new({
  625. NumberSequenceKeypoint.new(0, 0.5, 0),
  626. NumberSequenceKeypoint.new(1, 1, 0)
  627. })
  628. local trailbot1 = Instance.new("Trail", c["Torso"])
  629. trailbot1.Enabled = true
  630. trailbot1.Texture = "rbxassetid://16607923"
  631. trailbot1.Name = "bottrail"
  632. trailbot1.MinLength = 0
  633. trailbot1.Lifetime = 0.1
  634.  
  635. trailbot1.Color = ColorSequence.new(ColorArray)
  636.  
  637. trailbot1.Attachment0 = att3
  638. trailbot1.Attachment1 = att4
  639. trailbot1.Transparency = NumberSequence.new({
  640. NumberSequenceKeypoint.new(0, 0.5, 0),
  641. NumberSequenceKeypoint.new(1, 1, 0)
  642. })
  643. local trailside1 = Instance.new("Trail", c["Torso"])
  644. trailside1.Enabled = true
  645. trailside1.Texture = "rbxassetid://16607923"
  646. trailside1.Name = "sidetrail1"
  647. trailside1.MinLength = 0
  648. trailside1.Lifetime = 0.1
  649.  
  650. trailside1.Color = ColorSequence.new(ColorArray)
  651.  
  652. trailside1.Attachment0 = att1
  653. trailside1.Attachment1 = att3
  654. trailside1.Transparency = NumberSequence.new({
  655. NumberSequenceKeypoint.new(0, 0.5, 0),
  656. NumberSequenceKeypoint.new(1, 1, 0)
  657. })
  658. local trailside2 = Instance.new("Trail", c["Torso"])
  659. trailside2.Enabled = true
  660. trailside2.Texture = "rbxassetid://16607923"
  661. trailside2.Name = "sidetrail2"
  662. trailside2.MinLength = 0
  663. trailside2.Lifetime = 0.1
  664.  
  665. trailside2.Color = ColorSequence.new(ColorArray)
  666.  
  667. trailside2.Attachment0 = att2
  668. trailside2.Attachment1 = att4
  669. trailside2.Transparency = NumberSequence.new({
  670. NumberSequenceKeypoint.new(0, 0.5, 0),
  671. NumberSequenceKeypoint.new(1, 1, 0)
  672. })
  673. local trailtop12 = Instance.new("Trail", c["Head"])
  674. trailtop12.Enabled = true
  675. trailtop12.Texture = "rbxassetid://16607923"
  676. trailtop12.Name = "toptrail"
  677. trailtop12.MinLength = 0
  678. trailtop12.Lifetime = 0.1
  679.  
  680. trailtop12.Color = ColorSequence.new(ColorArray)
  681.  
  682. trailtop12.Attachment0 = attt1
  683. trailtop12.Attachment1 = attt2
  684. trailtop12.Transparency = NumberSequence.new({
  685. NumberSequenceKeypoint.new(0, 0.5, 0),
  686. NumberSequenceKeypoint.new(1, 1, 0)
  687. })
  688. local trailbot2 = Instance.new("Trail", c["Head"])
  689. trailbot2.Enabled = true
  690. trailbot2.Texture = "rbxassetid://16607923"
  691. trailbot2.Name = "bottrail"
  692. trailbot2.MinLength = 0
  693. trailbot2.Lifetime = 0.1
  694.  
  695. trailbot2.Color = ColorSequence.new(ColorArray)
  696.  
  697. trailbot2.Attachment0 = attt3
  698. trailbot2.Attachment1 = attt4
  699. trailbot2.Transparency = NumberSequence.new({
  700. NumberSequenceKeypoint.new(0, 0.5, 0),
  701. NumberSequenceKeypoint.new(1, 1, 0)
  702. })
  703. local trailside12 = Instance.new("Trail", c["Head"])
  704. trailside12.Enabled = true
  705. trailside12.Texture = "rbxassetid://16607923"
  706. trailside12.Name = "sidetrail1"
  707. trailside12.MinLength = 0
  708. trailside12.Lifetime = 0.1
  709.  
  710. trailside12.Color = ColorSequence.new(ColorArray)
  711.  
  712. trailside12.Attachment0 = attt1
  713. trailside12.Attachment1 = attt3
  714. trailside12.Transparency = NumberSequence.new({
  715. NumberSequenceKeypoint.new(0, 0.5, 0),
  716. NumberSequenceKeypoint.new(1, 1, 0)
  717. })
  718. local trailside22 = Instance.new("Trail", c["Head"])
  719. trailside22.Enabled = true
  720. trailside22.Texture = "rbxassetid://16607923"
  721. trailside22.Name = "sidetrail2"
  722. trailside22.MinLength = 0
  723. trailside22.Lifetime = 0.1
  724.  
  725. trailside22.Color = ColorSequence.new(ColorArray)
  726.  
  727. trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
  728. trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
  729.  
  730. Sped = 0
  731.  
  732. function ragplayer(cactus)
  733. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://154003946" S.Volume = 2 S:Play()
  734. cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
  735. if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
  736. cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
  737. makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
  738. maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
  739. end
  740. if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
  741. cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
  742. makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
  743. maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
  744. end
  745. if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
  746. cactus.Torso:FindFirstChild("Right Hip"):Destroy()
  747. makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
  748. maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
  749. end
  750. if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
  751. cactus.Torso:FindFirstChild("Left Hip"):Destroy()
  752. makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
  753. maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
  754. end
  755. cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
  756. end
  757. function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
  758.  
  759. function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
  760.  
  761. local hitz = false
  762. c.HumanoidRootPart.Touched:connect(function(Hit)
  763. if thing >= 100 then
  764. if hitz == false then hitz = true
  765. ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://827669055," S.Volume = 10 S:Play()
  766. wait(15)
  767. end
  768. end
  769. end)
  770.  
  771. function Spin()
  772. attack = true
  773. while attack == true do Sped = Sped + 0.25
  774. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(Sped*Sped*5), rd(0), rd(0)), 1)
  775. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  776. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  777. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  778. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  779. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  780. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  781. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  782. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  783. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  784. swait()
  785. end
  786. end
  787.  
  788. SanicScreams = {858508159,858508159}
  789.  
  790. mouse.KeyDown:connect(function(key)
  791. if attack == true then return end
  792. if key == "q" then
  793. Spin()
  794. end
  795. if key == "e" then
  796. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://53737146" S.Volume = 10 S:Play()
  797. wait(1.25)
  798. local Sanic = SanicScreams[math.random(1,#SanicScreams)]
  799. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://"..Sanic S.Volume = 10 S:Play()
  800. spawn(function()
  801. local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("White")Sp.Material = "Neon" Sp.Size = Vector3.new(1,1,1) Sp.Anchored = true Sp.CanCollide = false
  802. local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshType = "Sphere" Sp.CFrame = c.HumanoidRootPart.CFrame
  803. for i = 1,25 do
  804. SPM.Scale = SPM.Scale + Vector3.new(4,4,4)
  805. Sp.Transparency = Sp.Transparency + 1/25
  806. swait()
  807. end
  808. end)
  809. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://433473612" S.Volume = 10 S:Play()
  810. Sped = 10000000000
  811. end
  812. end)
  813.  
  814. mouse.KeyUp:connect(function(key)
  815. if key == "r" then
  816. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://615678808" S.Volume = 10 S:Play()
  817. end
  818. if key == "q" then
  819. attack = false
  820. end
  821. end)
  822.  
  823. local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
  824. P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart"
  825. P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
  826. spawn(function()
  827. while true do
  828. P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z)
  829. swait()
  830. end
  831. end)
  832.  
  833. anim.Parent = nil
  834. sine = 0
  835.  
  836. game:GetService("RunService").RenderStepped:connect(function()
  837. if attack == false then
  838. thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  839. game.Workspace.CurrentCamera.FieldOfView = 70+thing/100
  840. if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
  841. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1)
  842. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  843. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  844. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  845. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  846. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  847. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  848. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  849. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  850. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  851. elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
  852. sine = sine + 1 Sped = Sped + 0.1
  853. if thing <= 200 then
  854. if S2.PlaybackSpeed >= 1 then
  855. S2.PlaybackSpeed = 1
  856. else
  857. S2.PlaybackSpeed = thing/80
  858. end
  859. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  860. S2.Volume = thing/20
  861. end
  862. if thing <= 200 then
  863. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  864. S2.Volume = thing/20
  865. else
  866. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  867. end
  868. if thing <= 100 then
  869. for i,v in pairs(c:children()) do
  870. if v.ClassName == "Part" then
  871. for i,v2 in pairs(v:children()) do
  872. if v2.ClassName == "Trail" then
  873. v2.Enabled = false
  874. v2.LightEmission = 1
  875. end
  876. end
  877. end
  878. end
  879. else
  880. for i,v in pairs(c:children()) do
  881. if v.ClassName == "Part" then
  882. for i,v2 in pairs(v:children()) do
  883. if v2.ClassName == "Trail" then
  884. v2.Lifetime = 2
  885. v2.Enabled = true
  886. end
  887. end
  888. end
  889. end
  890. end
  891. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/7), rd(0), rd(0)), 1)
  892. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  893. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1)
  894. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  895. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1)
  896. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  897. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  898. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  899. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  900. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  901. else c.Humanoid.WalkSpeed = 16 Sped = 0 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
  902. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  903. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  904. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  905. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  906. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  907. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  908. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  909. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  910. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  911. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  912. end
  913. for i,v in pairs (c:children()) do
  914. if v.ClassName == "Accessory" then
  915. for i,v2 in pairs (v:children()) do
  916. if v2.ClassName == "Part" then
  917. v2.Anchored = false
  918. end
  919. end
  920. end
  921. for i,v in pairs (c:children()) do
  922. if v.ClassName == "Part" then
  923. v.Anchored = false
  924. end
  925. end
  926. end
  927. end
  928. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement