Advertisement
idkwhatiam

lenny

Apr 7th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 26.27 KB | None | 0 0
  1. print("Making ServerScript")
  2. local Remote = NS([[
  3. wait()
  4. thing = 0
  5. LoudVolume = false
  6. Submerged = false
  7. Music = true
  8. script.Name = "SANIIIIC"
  9. Player = owner
  10. c = owner.Character
  11. Head = c.Head
  12. Humanoid = c.Humanoid
  13. anim = c.Humanoid.Animator
  14. rage = false
  15. p = owner
  16. Music = false
  17. anim = Humanoid.Animator
  18. local Effects = {}
  19. attack = false
  20. local attacking = false
  21. vt = Vector3.new
  22. bc = BrickColor.new
  23. br = BrickColor.random
  24. it = Instance.new
  25. cf = CFrame.new
  26. euler = CFrame.fromEulerAnglesXYZ
  27. angles = CFrame.Angles
  28. matr = math.random
  29.  
  30.   RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  31.   RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  32.   LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  33.   LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  34.   RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  35.   RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  36.   LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  37.   LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  38.   NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  39.   NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  40.   RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  41.   RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  42.   RS = c.Torso:FindFirstChild("Right Shoulder")
  43.   LS = c.Torso:FindFirstChild("Left Shoulder")
  44.   RH = c.Torso:FindFirstChild("Right Hip")
  45.   LH = c.Torso:FindFirstChild("Left Hip")
  46.   RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  47.   N = c.Torso:FindFirstChild("Neck")
  48.   cf = CFrame.new
  49.   ang = CFrame.Angles
  50.   rd = math.rad
  51.   rd2 = math.random
  52. function swait(num)
  53. if num==0 or num==nil then
  54. game:service'RunService'.Heartbeat:wait(0)
  55. else
  56. for i=0,num do
  57. game:service'RunService'.Heartbeat:wait(0)
  58. end
  59. end
  60. end
  61.    
  62.   function lerpz(joint, prop, cfrmz, alp)
  63.     joint[prop] = joint[prop]:lerp(cfrmz, alp)
  64.   end
  65.   function resetlerp()
  66.     RJ.C0 = RJC0
  67.     RJ.C1 = RJC1
  68.     N.C0 = NC0
  69.     N.C1 = NC1
  70.     RS.C0 = RSC0
  71.     RS.C1 = RSC1
  72.     LS.C0 = LSC0
  73.     LS.C1 = LSC1
  74.     RH.C0 = RHC0
  75.     RH.C1 = RHC1
  76.     LH.C0 = LHC0
  77.     LH.C1 = LHC1
  78.   end
  79.  
  80. local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://803592504" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
  81. c.Head.face:remove()
  82.  
  83. ---------------------------------
  84. --------------name-------------
  85. ---------------------------------
  86.  
  87. local sur = Instance.new("BillboardGui", char.Head)
  88. sur.Name = "Billboard"
  89. sur.Adornee = char.Head
  90. sur.Size = UDim2.new(10, 0, 5, 0)
  91. sur.StudsOffset = Vector3.new(0, 5, 0)
  92. local text = Instance.new("TextLabel", sur)
  93. text.Text = "lenny"
  94. text.Size = UDim2.new(1, 0, 1, 0)
  95. text.TextScaled = true
  96. text.BackgroundTransparency = 1
  97. text.Font = Enum.Font.SourceSansLight
  98. text.TextColor3 = Color3.new(1, 1, 1)
  99. text.TextStrokeTransparency = 0
  100.  
  101. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))}
  102. local att1 = Instance.new("Attachment", c["Right Leg"])
  103. att1.Name = "att1"
  104. att1.Position = Vector3.new(0.5, 1, 0.5)
  105. local att2 = Instance.new("Attachment", c["Right Leg"])
  106. att2.Name = "att2"
  107. att2.Position = Vector3.new(-0.5, 1, 0.5)
  108. local att3 = Instance.new("Attachment", c["Right Leg"])
  109. att3.Name = "att3"
  110. att3.Position = Vector3.new(0.5, -1, 0.5)
  111. local att4 = Instance.new("Attachment", c["Right Leg"])
  112. att4.Name = "att4"
  113. att4.Position = Vector3.new(-0.5, -1, 0.5)
  114.  
  115. local attt1 = Instance.new("Attachment", c["Left Leg"])
  116. attt1.Name = "att1"
  117. attt1.Position = Vector3.new(0.5, 1, 0.5)
  118. local attt2 = Instance.new("Attachment", c["Left Leg"])
  119. attt2.Name = "att2"
  120. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  121. local attt3 = Instance.new("Attachment", c["Left Leg"])
  122. attt3.Name = "att3"
  123. attt3.Position = Vector3.new(0.5, -1, 0.5)
  124. local attt4 = Instance.new("Attachment", c["Left Leg"])
  125. attt4.Name = "att4"
  126. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  127.  
  128. local trailtop1 = Instance.new("Trail", c["Right Leg"])
  129. trailtop1.Enabled = true
  130. trailtop1.Texture = "rbxassetid://407318838"
  131. trailtop1.Name = "toptrail"
  132. trailtop1.MinLength = 0
  133. trailtop1.Lifetime = 0.1
  134.  
  135. trailtop1.Color = ColorSequence.new(ColorArray)
  136.  
  137. trailtop1.Attachment0 = att1
  138. trailtop1.Attachment1 = att2
  139. trailtop1.Transparency = NumberSequence.new({
  140.           NumberSequenceKeypoint.new(0, 0.5, 0),
  141.           NumberSequenceKeypoint.new(1, 1, 0)
  142.         })
  143.  
  144. local trailbot1 = Instance.new("Trail", c["Right Leg"])
  145. trailbot1.Enabled = true
  146. trailbot1.Texture = "rbxassetid://407318838"
  147. trailbot1.Name = "bottrail"
  148. trailbot1.MinLength = 0
  149. trailbot1.Lifetime = 0.1
  150.  
  151. trailbot1.Color = ColorSequence.new(ColorArray)
  152.  
  153. trailbot1.Attachment0 = att3
  154. trailbot1.Attachment1 = att4
  155. trailbot1.Transparency = NumberSequence.new({
  156.           NumberSequenceKeypoint.new(0, 0.5, 0),
  157.           NumberSequenceKeypoint.new(1, 1, 0)
  158.         })
  159.  
  160. local trailside1 = Instance.new("Trail", c["Right Leg"])
  161. trailside1.Enabled = true
  162. trailside1.Name = "407318838"
  163. trailside1.MinLength = 0
  164. trailside1.Lifetime = 0.1
  165.  
  166. trailside1.Color = ColorSequence.new(ColorArray)
  167.  
  168. trailside1.Attachment0 = att1
  169. trailside1.Attachment1 = att3
  170. trailside1.Transparency = NumberSequence.new({
  171.           NumberSequenceKeypoint.new(0, 0.5, 0),
  172.           NumberSequenceKeypoint.new(1, 1, 0)
  173.         })
  174.  
  175. local trailside2 = Instance.new("Trail", c["Right Leg"])
  176. trailside2.Enabled = true
  177. trailside2.Texture = "rbxassetid://407318838"
  178. trailside2.Name = "sidetrail2"
  179. trailside2.MinLength = 0
  180. trailside2.Lifetime = 0.1
  181. spawn(function()
  182. while true do wait()
  183. trailside2.Color = ColorSequence.new(ColorArray)
  184. end
  185. end)
  186. trailside2.Attachment0 = att2
  187. trailside2.Attachment1 = att4
  188. trailside2.Transparency = NumberSequence.new({
  189.           NumberSequenceKeypoint.new(0, 0.5, 0),
  190.           NumberSequenceKeypoint.new(1, 1, 0)
  191.         })
  192.  
  193.  
  194. local trailtop12 = Instance.new("Trail", c["Left Leg"])
  195. trailtop12.Enabled = true
  196. trailtop12.Texture = "rbxassetid://407318838"
  197. trailtop12.Name = "toptrail"
  198. trailtop12.MinLength = 0
  199. trailtop12.Lifetime = 0.1
  200. spawn(function()
  201. while true do wait()
  202. trailtop12.Color = ColorSequence.new(ColorArray)
  203. end
  204. end)
  205. trailtop12.Attachment0 = attt1
  206. trailtop12.Attachment1 = attt2
  207. trailtop12.Transparency = NumberSequence.new({
  208.           NumberSequenceKeypoint.new(0, 0.5, 0),
  209.           NumberSequenceKeypoint.new(1, 1, 0)
  210.         })
  211.  
  212. local trailbot2 = Instance.new("Trail", c["Left Leg"])
  213. trailbot2.Enabled = true
  214. trailbot2.Texture = "rbxassetid://407318838"
  215. trailbot2.Name = "bottrail"
  216. trailbot2.MinLength = 0
  217. trailbot2.Lifetime = 0.1
  218.  
  219. trailbot2.Color = ColorSequence.new(ColorArray)
  220.  
  221. trailbot2.Attachment0 = attt3
  222. trailbot2.Attachment1 = attt4
  223. trailbot2.Transparency = NumberSequence.new({
  224.           NumberSequenceKeypoint.new(0, 0.5, 0),
  225.           NumberSequenceKeypoint.new(1, 1, 0)
  226.         })
  227.  
  228. local trailside12 = Instance.new("Trail", c["Left Leg"])
  229. trailside12.Enabled = true
  230. trailside12.Texture = "rbxassetid://407318838"
  231. trailside12.Name = "sidetrail1"
  232. trailside12.MinLength = 0
  233. trailside12.Lifetime = 0.1
  234.  
  235. trailside12.Color = ColorSequence.new(ColorArray)
  236.  
  237. trailside12.Attachment0 = attt1
  238. trailside12.Attachment1 = attt3
  239. trailside12.Transparency = NumberSequence.new({
  240.           NumberSequenceKeypoint.new(0, 0.5, 0),
  241.           NumberSequenceKeypoint.new(1, 1, 0)
  242.         })
  243.  
  244. local trailside22 = Instance.new("Trail", c["Left Leg"])
  245. trailside22.Enabled = true
  246. trailside22.Texture = "rbxassetid://407318838"
  247. trailside22.Name = "sidetrail2"
  248. trailside22.MinLength = 0
  249. trailside22.Lifetime = 0.1
  250.  
  251. trailside22.Color = ColorSequence.new(ColorArray)
  252.  
  253. trailside22.Attachment0 = attt2
  254. trailside22.Attachment1 = attt4
  255. trailside22.Transparency = NumberSequence.new({
  256.           NumberSequenceKeypoint.new(0, 0.5, 0),
  257.           NumberSequenceKeypoint.new(1, 1, 0)
  258.         })
  259.  
  260.  
  261. local att1 = Instance.new("Attachment", c["Right Arm"])
  262. att1.Name = "att1"
  263. att1.Position = Vector3.new(0.5, 1, 0.5)
  264. local att2 = Instance.new("Attachment", c["Right Arm"])
  265. att2.Name = "att2"
  266. att2.Position = Vector3.new(-0.5, 1, 0.5)
  267. local att3 = Instance.new("Attachment", c["Right Arm"])
  268. att3.Name = "att3"
  269. att3.Position = Vector3.new(0.5, -1, 0.5)
  270. local att4 = Instance.new("Attachment", c["Right Arm"])
  271. att4.Name = "att4"
  272. att4.Position = Vector3.new(-0.5, -1, 0.5)
  273.  
  274. local attt1 = Instance.new("Attachment", c["Left Arm"])
  275. attt1.Name = "att1"
  276. attt1.Position = Vector3.new(0.5, 1, 0.5)
  277. local attt2 = Instance.new("Attachment", c["Left Arm"])
  278. attt2.Name = "att2"
  279. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  280. local attt3 = Instance.new("Attachment", c["Left Arm"])
  281. attt3.Name = "att3"
  282. attt3.Position = Vector3.new(0.5, -1, 0.5)
  283. local attt4 = Instance.new("Attachment", c["Left Arm"])
  284. attt4.Name = "att4"
  285. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  286.  
  287. local trailtop1 = Instance.new("Trail", c["Right Arm"])
  288. trailtop1.Enabled = true
  289. trailtop1.Texture = "rbxassetid://407318838"
  290. trailtop1.Name = "toptrail"
  291. trailtop1.MinLength = 0
  292. trailtop1.Lifetime = 0.1
  293.  
  294. trailtop1.Color = ColorSequence.new(ColorArray)
  295.  
  296. trailtop1.Attachment0 = att1
  297. trailtop1.Attachment1 = att2
  298. trailtop1.Transparency = NumberSequence.new({
  299.           NumberSequenceKeypoint.new(0, 0.5, 0),
  300.           NumberSequenceKeypoint.new(1, 1, 0)
  301.         })
  302.  
  303. local trailbot1 = Instance.new("Trail", c["Right Arm"])
  304. trailbot1.Enabled = true
  305. trailbot1.Texture = "rbxassetid://407318838"
  306. trailbot1.Name = "bottrail"
  307. trailbot1.MinLength = 0
  308. trailbot1.Lifetime = 0.1
  309. spawn(function()
  310. while true do wait()
  311. trailbot1.Color = ColorSequence.new(ColorArray)
  312. end
  313. end)
  314. trailbot1.Attachment0 = att3
  315. trailbot1.Attachment1 = att4
  316. trailbot1.Transparency = NumberSequence.new({
  317.           NumberSequenceKeypoint.new(0, 0.5, 0),
  318.           NumberSequenceKeypoint.new(1, 1, 0)
  319.         })
  320.  
  321. local trailside1 = Instance.new("Trail", c["Right Arm"])
  322. trailside1.Enabled = true
  323. trailside1.Texture = "rbxassetid://407318838"
  324. trailside1.Name = "sidetrail1"
  325. trailside1.MinLength = 0
  326. trailside1.Lifetime = 0.1
  327.  
  328. trailside1.Color = ColorSequence.new(ColorArray)
  329.  
  330. trailside1.Attachment0 = att1
  331. trailside1.Attachment1 = att3
  332. trailside1.Transparency = NumberSequence.new({
  333.           NumberSequenceKeypoint.new(0, 0.5, 0),
  334.           NumberSequenceKeypoint.new(1, 1, 0)
  335.         })
  336.  
  337. local trailside2 = Instance.new("Trail", c["Right Arm"])
  338. trailside2.Enabled = true
  339. trailside2.Texture = "rbxassetid://407318838"
  340. trailside2.Name = "sidetrail2"
  341. trailside2.MinLength = 0
  342. trailside2.Lifetime = 0.1
  343.  
  344. trailside2.Color = ColorSequence.new(ColorArray)
  345.  
  346. trailside2.Attachment0 = att2
  347. trailside2.Attachment1 = att4
  348. trailside2.Transparency = NumberSequence.new({
  349.           NumberSequenceKeypoint.new(0, 0.5, 0),
  350.           NumberSequenceKeypoint.new(1, 1, 0)
  351.         })
  352.  
  353.  
  354. local trailtop12 = Instance.new("Trail", c["Left Arm"])
  355. trailtop12.Enabled = true
  356. trailtop12.Texture = "rbxassetid://407318838"
  357. trailtop12.Name = "toptrail"
  358. trailtop12.MinLength = 0
  359. trailtop12.Lifetime = 0.1
  360.  
  361. trailtop12.Color = ColorSequence.new(ColorArray)
  362.  
  363. trailtop12.Attachment0 = attt1
  364. trailtop12.Attachment1 = attt2
  365. trailtop12.Transparency = NumberSequence.new({
  366.           NumberSequenceKeypoint.new(0, 0.5, 0),
  367.           NumberSequenceKeypoint.new(1, 1, 0)
  368.         })
  369.  
  370. local trailbot2 = Instance.new("Trail", c["Left Arm"])
  371. trailbot2.Enabled = true
  372. trailbot2.Texture = "rbxassetid://407318838"
  373. trailbot2.Name = "bottrail"
  374. trailbot2.MinLength = 0
  375. trailbot2.Lifetime = 0.1
  376.  
  377. trailbot2.Color = ColorSequence.new(ColorArray)
  378.  
  379. trailbot2.Attachment0 = attt3
  380. trailbot2.Attachment1 = attt4
  381. trailbot2.Transparency = NumberSequence.new({
  382.           NumberSequenceKeypoint.new(0, 0.5, 0),
  383.           NumberSequenceKeypoint.new(1, 1, 0)
  384.         })
  385.  
  386. local trailside12 = Instance.new("Trail", c["Left Arm"])
  387. trailside12.Enabled = true
  388. trailside12.Texture = "rbxassetid://407318838"
  389. trailside12.Name = "sidetrail1"
  390. trailside12.MinLength = 0
  391. trailside12.Lifetime = 0.1
  392.  
  393. trailside12.Color = ColorSequence.new(ColorArray)
  394.  
  395. trailside12.Attachment0 = attt1
  396. trailside12.Attachment1 = attt3
  397. trailside12.Transparency = NumberSequence.new({
  398.           NumberSequenceKeypoint.new(0, 0.5, 0),
  399.           NumberSequenceKeypoint.new(1, 1, 0)
  400.         })
  401.  
  402. local trailside22 = Instance.new("Trail", c["Left Arm"])
  403. trailside22.Enabled = true
  404. trailside22.Texture = "rbxassetid://407318838"
  405. trailside22.Name = "sidetrail2"
  406. trailside22.MinLength = 0
  407. trailside22.Lifetime = 0.1
  408.  
  409. trailside22.Color = ColorSequence.new(ColorArray)
  410.  
  411. trailside22.Attachment0 = attt2
  412. trailside22.Attachment1 = attt4
  413. trailside22.Transparency = NumberSequence.new({
  414.           NumberSequenceKeypoint.new(0, 0.5, 0),
  415.           NumberSequenceKeypoint.new(1, 1, 0)
  416.         })
  417.  
  418. local att1 = Instance.new("Attachment", c["Torso"])
  419. att1.Name = "att1"
  420. att1.Position = Vector3.new(1, 1, 0.5)
  421. local att2 = Instance.new("Attachment", c["Torso"])
  422. att2.Name = "att2"
  423. att2.Position = Vector3.new(-1, 1, 0.5)
  424. local att3 = Instance.new("Attachment", c["Torso"])
  425. att3.Name = "att3"
  426. att3.Position = Vector3.new(1, -1, 0.5)
  427. local att4 = Instance.new("Attachment", c["Torso"])
  428. att4.Name = "att4"
  429. att4.Position = Vector3.new(-1, -1, 0.5)
  430.  
  431. local attt1 = Instance.new("Attachment", c["Head"])
  432. attt1.Name = "att1"
  433. attt1.Position = Vector3.new(.55, .55, 0.025)
  434. local attt2 = Instance.new("Attachment", c["Head"])
  435. attt2.Name = "att2"
  436. attt2.Position = Vector3.new(-.55, .55, 0.025)
  437. local attt3 = Instance.new("Attachment", c["Head"])
  438. attt3.Name = "att3"
  439. attt3.Position = Vector3.new(.55, -.5, 0.025)
  440. local attt4 = Instance.new("Attachment", c["Head"])
  441. attt4.Name = "att4"
  442. attt4.Position = Vector3.new(-.55, -.5, 0.025)
  443. local trailtop1 = Instance.new("Trail", c["Torso"])
  444. trailtop1.Enabled = true
  445. trailtop1.Texture = "rbxassetid://407318838"
  446. trailtop1.Name = "toptrail"
  447. trailtop1.MinLength = 0
  448. trailtop1.Lifetime = 0.1
  449.  
  450. trailtop1.Color = ColorSequence.new(ColorArray)
  451.  
  452. trailtop1.Attachment0 = att1
  453. trailtop1.Attachment1 = att2
  454. trailtop1.Transparency = NumberSequence.new({
  455.           NumberSequenceKeypoint.new(0, 0.5, 0),
  456.           NumberSequenceKeypoint.new(1, 1, 0)
  457.         })
  458. local trailbot1 = Instance.new("Trail", c["Torso"])
  459. trailbot1.Enabled = true
  460. trailbot1.Texture = "rbxassetid://407318838"
  461. trailbot1.Name = "bottrail"
  462. trailbot1.MinLength = 0
  463. trailbot1.Lifetime = 0.1
  464.  
  465. trailbot1.Color = ColorSequence.new(ColorArray)
  466.  
  467. trailbot1.Attachment0 = att3
  468. trailbot1.Attachment1 = att4
  469. trailbot1.Transparency = NumberSequence.new({
  470.           NumberSequenceKeypoint.new(0, 0.5, 0),
  471.           NumberSequenceKeypoint.new(1, 1, 0)
  472.         })
  473. local trailside1 = Instance.new("Trail", c["Torso"])
  474. trailside1.Enabled = true
  475. trailside1.Texture = "rbxassetid://407318838"
  476. trailside1.Name = "sidetrail1"
  477. trailside1.MinLength = 0
  478. trailside1.Lifetime = 0.1
  479.  
  480. trailside1.Color = ColorSequence.new(ColorArray)
  481.  
  482. trailside1.Attachment0 = att1
  483. trailside1.Attachment1 = att3
  484. trailside1.Transparency = NumberSequence.new({
  485.           NumberSequenceKeypoint.new(0, 0.5, 0),
  486.           NumberSequenceKeypoint.new(1, 1, 0)
  487.         })
  488. local trailside2 = Instance.new("Trail", c["Torso"])
  489. trailside2.Enabled = true
  490. trailside2.Texture = "rbxassetid://407318838"
  491. trailside2.Name = "sidetrail2"
  492. trailside2.MinLength = 0
  493. trailside2.Lifetime = 0.1
  494.  
  495. trailside2.Color = ColorSequence.new(ColorArray)
  496.  
  497. trailside2.Attachment0 = att2
  498. trailside2.Attachment1 = att4
  499. trailside2.Transparency = NumberSequence.new({
  500.           NumberSequenceKeypoint.new(0, 0.5, 0),
  501.           NumberSequenceKeypoint.new(1, 1, 0)
  502.         })
  503. local trailtop12 = Instance.new("Trail", c["Head"])
  504. trailtop12.Enabled = true
  505. trailtop12.Texture = "rbxassetid://407318838"
  506. trailtop12.Name = "toptrail"
  507. trailtop12.MinLength = 0
  508. trailtop12.Lifetime = 0.1
  509.  
  510. trailtop12.Color = ColorSequence.new(ColorArray)
  511.  
  512. trailtop12.Attachment0 = attt1
  513. trailtop12.Attachment1 = attt2
  514. trailtop12.Transparency = NumberSequence.new({
  515.           NumberSequenceKeypoint.new(0, 0.5, 0),
  516.           NumberSequenceKeypoint.new(1, 1, 0)
  517.         })
  518. local trailbot2 = Instance.new("Trail", c["Head"])
  519. trailbot2.Enabled = true
  520. trailbot2.Texture = "rbxassetid://407318838"
  521. trailbot2.Name = "bottrail"
  522. trailbot2.MinLength = 0
  523. trailbot2.Lifetime = 0.1
  524.  
  525. trailbot2.Color = ColorSequence.new(ColorArray)
  526.  
  527. trailbot2.Attachment0 = attt3
  528. trailbot2.Attachment1 = attt4
  529. trailbot2.Transparency = NumberSequence.new({
  530.           NumberSequenceKeypoint.new(0, 0.5, 0),
  531.           NumberSequenceKeypoint.new(1, 1, 0)
  532.         })
  533. local trailside12 = Instance.new("Trail", c["Head"])
  534. trailside12.Enabled = true
  535. trailside12.Texture = "rbxassetid://407318838"
  536. trailside12.Name = "sidetrail1"
  537. trailside12.MinLength = 0
  538. trailside12.Lifetime = 0.1
  539.  
  540. trailside12.Color = ColorSequence.new(ColorArray)
  541.  
  542. trailside12.Attachment0 = attt1
  543. trailside12.Attachment1 = attt3
  544. trailside12.Transparency = NumberSequence.new({
  545.           NumberSequenceKeypoint.new(0, 0.5, 0),
  546.           NumberSequenceKeypoint.new(1, 1, 0)
  547.         })
  548. local trailside22 = Instance.new("Trail", c["Head"])
  549. trailside22.Enabled = true
  550. trailside22.Texture = "rbxassetid://407318838"
  551. trailside22.Name = "sidetrail2"
  552. trailside22.MinLength = 0
  553. trailside22.Lifetime = 0.1
  554.  
  555. trailside22.Color = ColorSequence.new(ColorArray)
  556.  
  557. trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
  558. trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
  559.  
  560. Sped = 0
  561.  
  562. function ragplayer(cactus)
  563. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://131026421" S.Volume = 2 S:Play()
  564. cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
  565. if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
  566. cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
  567. makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
  568. maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
  569. end
  570. if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
  571. cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
  572. makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
  573. maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
  574. end
  575. if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
  576. cactus.Torso:FindFirstChild("Right Hip"):Destroy()
  577. makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
  578. maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
  579. end
  580. if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
  581. cactus.Torso:FindFirstChild("Left Hip"):Destroy()
  582. makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
  583. maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
  584. end
  585. cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
  586. end
  587. 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
  588.  
  589. 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
  590.  
  591. local hitz = false
  592. c.HumanoidRootPart.Touched:connect(function(Hit)
  593. if thing >= 100 then
  594. if hitz == false then hitz = true
  595. ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://386946017" S.Volume = 6 S:Play()
  596. wait(15)
  597. end
  598. end
  599. end)
  600.  
  601. function Spin()
  602. attack = true
  603. while attack == true do Sped = Sped + 0.25
  604. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(Sped*Sped*5), rd(0), rd(0)), 1)
  605. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  606. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  607. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  608. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  609. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  610. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  611. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  612. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  613. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  614. swait()
  615. end
  616. end
  617.  
  618. SanicScreams = {585370931,202427593}  
  619.  
  620.  
  621. KeyDown = function(key)
  622. if attack == true then return end
  623. if key == "q" then
  624. Spin()
  625. end
  626. if key == "e" then
  627. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://537371462" S.Volume = 10 S:Play()
  628. wait(1.25)
  629. local Sanic  = SanicScreams[math.random(1,#SanicScreams)]
  630. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://"..Sanic S.Volume = 10 S:Play()
  631. spawn(function()
  632. local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("Cyan")Sp.Material = "Neon" Sp.Size = Vector3.new(1,1,1) Sp.Anchored = true Sp.CanCollide = false
  633. local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshType = "Sphere" Sp.CFrame = c.HumanoidRootPart.CFrame
  634. for i = 1,25 do
  635. SPM.Scale = SPM.Scale + Vector3.new(4,4,4)
  636. Sp.Transparency = Sp.Transparency + 1/25
  637. swait()
  638. end
  639. end)
  640. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://214444596" S.Volume = 10 S:Play()
  641. Sped = 10000000000
  642. end
  643. end
  644.  
  645. KeyUp = function(key)
  646. if key == "q" then
  647. attack = false
  648. end
  649. end
  650.  
  651.         Remote = Instance.new 'RemoteFunction';
  652.         Remote.Name = "Remote"
  653.         Remote.Parent = script;
  654.         Remote.OnServerInvoke = function (player, request, ...)
  655.             if (player ~= owner) then
  656.                 return error ('You cannot invoke this remote', 0);
  657.             end;
  658.             if request == 1 then
  659.                 KeyDown(...)
  660.             elseif request == 2 then
  661.                 KeyUp(...)
  662.             end
  663.         end
  664.  
  665. local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
  666. P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart"
  667. P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
  668. spawn(function()
  669. while true do
  670. P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z)
  671. swait()
  672. end
  673. end)
  674.  
  675. anim.Parent = nil
  676. sine = 0
  677.  
  678. game:GetService("RunService").Stepped:connect(function()
  679. if attack == false then
  680. thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  681. game.Workspace.CurrentCamera.FieldOfView = 70+thing/100
  682. if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
  683. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1)
  684. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  685. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  686. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  687. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  688. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  689. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  690. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  691. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  692. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  693. elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
  694. sine = sine + 1 Sped = Sped + 0.1
  695. if thing <= 200 then
  696. if S2.PlaybackSpeed >= 1 then
  697. S2.PlaybackSpeed = 1
  698. else
  699. S2.PlaybackSpeed = thing/80
  700. end
  701. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  702. S2.Volume = thing/20
  703. end
  704. if thing <= 200 then
  705. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  706. S2.Volume = thing/20
  707. else
  708. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  709. end
  710. if thing <= 100 then
  711. for i,v in pairs(c:children()) do
  712. if v.ClassName == "Part" then
  713. for i,v2 in pairs(v:children()) do
  714. if v2.ClassName == "Trail" then
  715. v2.Enabled = false
  716. v2.LightEmission = 1
  717. end
  718. end
  719. end
  720. end
  721. else
  722. for i,v in pairs(c:children()) do
  723. if v.ClassName == "Part" then
  724. for i,v2 in pairs(v:children()) do
  725. if v2.ClassName == "Trail" then
  726. v2.Lifetime = 2
  727. v2.Enabled = true
  728. end
  729. end
  730. end
  731. end
  732. end
  733. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/7), rd(0), rd(0)), 1)
  734. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  735. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1)
  736. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  737. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1)
  738. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  739. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  740. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  741. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  742. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  743. else c.Humanoid.WalkSpeed = 16 Sped = 0 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
  744. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  745. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  746. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  747. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  748. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  749. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  750. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  751. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  752. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  753. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  754. end
  755. for i,v in pairs (c:children()) do
  756. if v.ClassName == "Accessory" then
  757. for i,v2 in pairs (v:children()) do
  758. if v2.ClassName == "Part" then
  759. v2.Anchored = false
  760. end
  761. end
  762. end
  763. for i,v in pairs (c:children()) do
  764. if v.ClassName == "Part" then
  765. v.Anchored = false
  766. end
  767. end
  768. end
  769. end
  770. end)]],owner.Character):WaitForChild("Remote")
  771.  
  772. mouse = owner:GetMouse()
  773.  
  774. mouse.KeyDown:connect(function(key)
  775.     Remote:InvokeServer(1,key)
  776. end)
  777. mouse.KeyUp:connect(function(key)
  778.     Remote:InvokeServer(2,key)
  779. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement