Advertisement
DarkSideYT123

Untitled

Aug 5th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.98 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local Mouse = Player:GetMouse()
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then return s[k] end
  95. end,
  96. __newindex = function(self,k,v)
  97. local s = rawget(self,"_RealService")
  98. if s then s[k]=v end
  99. end,
  100. __call = function(self,...)
  101. local s = rawget(self,"_RealService")
  102. if s then return s(...) end
  103. end
  104. }
  105. local function FakeService(t,RealService)
  106. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  107. return setmetatable(t,fsmt)
  108. end
  109.  
  110. --Fake game object
  111. local g = {
  112. GetService = function(self,s)
  113. return self[s]
  114. end,
  115. Players = FakeService({
  116. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  117. },"Players"),
  118. UserInputService = FakeService(UIS,"UserInputService"),
  119. ContextActionService = FakeService(CAS,"ContextActionService"),
  120. }
  121. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  122. g.service = g.GetService
  123.  
  124. g.RunService = FakeService({
  125. RenderStepped = _rg:GetService("RunService").Heartbeat,
  126. BindToRenderStep = function(self,name,_,fun)
  127.  
  128. end,
  129. UnbindFromRenderStep = function(self,name)
  130. self._btrs[name]:Disconnect()
  131. end,
  132. },"RunService")
  133.  
  134. setmetatable(g,{
  135. __index=function(self,s)
  136. return _rg:GetService(s) or typeof(_rg[s])=="function"
  137. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  138. end,
  139. __newindex = fsmt.__newindex,
  140. __call = fsmt.__call
  141. })
  142. --Changing owner to fake player object to support owner:GetMouse()
  143. game,owner = g,g.Players.LocalPlayer
  144. end
  145.  
  146.  
  147. --// Shortcut Variables \\--
  148. wait(1)
  149. can = true
  150. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  151. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  152. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  153. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  154. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  155. local R3 = {N=Region3.new}
  156. local De = S.Debris
  157. local WS = workspace
  158. local Lght = S.Lighting
  159. local RepS = S.ReplicatedStorage
  160. local IN = Instance.new
  161. local Plrs = S.Players
  162. Mode = "Neutral"
  163. ModeN = 1
  164. Minion1 = "None"
  165. Minion2 = "None"
  166. Minion3 = "None"
  167. Minion4 = "None"
  168. Minion5 = "None"
  169.  
  170. local Emit = IN("ParticleEmitter").Emit;
  171.  
  172. --// Initializing \\--
  173. local Plr = game.Players.LocalPlayer
  174. local Char = Plr.Character
  175. local Hum = Char:FindFirstChildOfClass'Humanoid'
  176. local RArm = Char["Right Arm"]
  177. local LArm = Char["Left Arm"]
  178. local RLeg = Char["Right Leg"]
  179. local LLeg = Char["Left Leg"]
  180. local Root = Char:FindFirstChild'HumanoidRootPart'
  181. local Torso = Char.Torso
  182. local Head = Char:WaitForChild("Head")
  183. local NeutralAnims = true
  184. local Attack = false
  185. local Debounces = {Debounces={}}
  186. local Hit = {}
  187. local Sine = 0
  188. local Change = 1
  189.  
  190. Char.Animate:Destroy()
  191.  
  192. Cooldown = false
  193.  
  194. local Effects = IN("Folder",Char)
  195. Effects.Name = "Effects"
  196. Times = 0
  197. repeat
  198. wait(0.1)
  199. Times = Times + 1
  200. if Char:FindFirstChildOfClass("Accessory") then
  201. Char:FindFirstChildOfClass("Accessory"):Destroy()
  202. end
  203. until Times == 5
  204.  
  205. Char.Head.Transparency = 1
  206. Char.Head.face.Transparency = 1
  207. Char["Left Leg"].BrickColor = BrickColor.new("Really black")
  208. Char["Right Arm"].Material = "Neon"
  209. Char["Left Arm"].Material = "Neon"
  210. Char["Right Leg"].Material = "Neon"
  211. Char["Left Leg"].Material = "Neon"
  212. Char["Torso"].Material = "Neon"
  213. Rainbow = false
  214. Char.HumanoidRootPart.Anchored = true
  215. Char.HumanoidRootPart.Orientation = Vector3.new(0,0,0)
  216. wait(1)
  217. Char.HumanoidRootPart.Anchored = false
  218. local FakeHead = Instance.new("Part", Char)
  219. FakeHead.Name = "FakeHead"
  220. FakeHead.Material = "Neon"
  221. FakeHead.BrickColor = BrickColor.new("Institutional white")
  222. FakeHead.Size = Vector3.new(1.104, 1, 1)
  223. FakeHead.Position = Char.Head.Position
  224. local FakeHeadWeld = Instance.new("Weld", Char)
  225. FakeHeadWeld.Name = "FakeHeadWeld"
  226. FakeHeadWeld.Part0 = Char.Head
  227. FakeHeadWeld.Part1 = FakeHead
  228. local TopHat1 = Instance.new("Part", Char)
  229. TopHat1.Name = "TopHead1"
  230. TopHat1.Size = Vector3.new(1.812, 0.232, 1.878)
  231. TopHat1.Anchored = true
  232. TopHat1.Position = FakeHead.Position + Vector3.new(0, 0.5, 0)
  233. TopHat1.BrickColor = BrickColor.new("Really black")
  234. TopHat1.Material = "Neon"
  235. local TopHat1Weld = Instance.new("WeldConstraint", Char)
  236. TopHat1Weld.Name = "TopHat1Weld"
  237. TopHat1Weld.Part0 = FakeHead
  238. TopHat1Weld.Part1 = TopHat1
  239. TopHat1.Anchored = false
  240. local TopHat2 = Instance.new("Part", Char)
  241. TopHat2.Name = "TopHead2"
  242. TopHat2.Size = Vector3.new(1.123, 0.296, 1.164)
  243. TopHat2.Anchored = true
  244. TopHat2.Position = FakeHead.Position + Vector3.new(0, 0.7, 0)
  245. TopHat2.BrickColor = BrickColor.new("Institutional white")
  246. TopHat2.Material = "Neon"
  247. local TopHat2Weld = Instance.new("WeldConstraint", Char)
  248. TopHat2Weld.Name = "TopHat2Weld"
  249. TopHat2Weld.Part0 = FakeHead
  250. TopHat2Weld.Part1 = TopHat2
  251. TopHat2.Anchored = false
  252. local TopHat3 = Instance.new("Part", Char)
  253. TopHat3.Name = "TopHead3"
  254. TopHat3.Size = Vector3.new(1.09, 2.344, 1.13)
  255. TopHat3.Anchored = true
  256. TopHat3.Position = FakeHead.Position + Vector3.new(0, 1.7, 0)
  257. TopHat3.BrickColor = BrickColor.new("Really black")
  258. TopHat3.Material = "Neon"
  259. local TopHat3Weld = Instance.new("WeldConstraint", Char)
  260. TopHat3Weld.Name = "TopHat3Weld"
  261. TopHat3Weld.Part0 = FakeHead
  262. TopHat3Weld.Part1 = TopHat3
  263. TopHat3.Anchored = false
  264. local PortalPart = Instance.new("Part", Char)
  265. PortalPart.CFrame = Char.HumanoidRootPart.CFrame * CFrame.new(0, 15, 3)
  266. PortalPart.Orientation = Vector3.new(60, 0, 0)
  267. PortalPart.Anchored = true
  268. PortalPart.Transparency = 1
  269. PortalPart.CanCollide = false
  270. PortalPart.Massless = true
  271. local PortalPartWeld = Instance.new("WeldConstraint", Char)
  272. PortalPartWeld.Name = "PortalPartWeld"
  273. PortalPartWeld.Part0 = Char.HumanoidRootPart
  274. PortalPartWeld.Part1 = PortalPart
  275. PortalPart.Anchored = false
  276. local PortalPart2 = Instance.new("Part", Char)
  277. PortalPart2.CFrame = Char.HumanoidRootPart.CFrame * CFrame.new(0, 15, 3)
  278. PortalPart2.Orientation = Vector3.new(-37.76, 116.57, 50.77)
  279. PortalPart2.Anchored = true
  280. PortalPart2.Transparency = 1
  281. PortalPart2.CanCollide = false
  282. PortalPart2.Massless = true
  283. local PortalPartWeld2 = Instance.new("WeldConstraint", Char)
  284. PortalPartWeld2.Name = "PortalPartWeld2"
  285. PortalPartWeld2.Part0 = Char.HumanoidRootPart
  286. PortalPartWeld2.Part1 = PortalPart2
  287. PortalPart2.Anchored = false
  288. local Name = Instance.new("BillboardGui", TopHat3)
  289. Name.ExtentsOffset = Vector3.new(0, 2, 0)
  290. Name.Size = UDim2.new(0,200,0,100)
  291. local NameText = Instance.new("TextLabel", Name)
  292. NameText.BackgroundTransparency = 1
  293. NameText.Font = Enum.Font.Cartoon
  294. NameText.TextSize = 50
  295. NameText.TextColor3 = Color3.new(500, 500, 500)
  296. NameText.Size = UDim2.new(0,200,0,100)
  297. local m = Plr:GetMouse()
  298. wait(0.2)
  299. NameText.Text = "Mr Void"
  300.  
  301.  
  302. m.KeyDown:Connect(function(k)
  303. k:lower()
  304. if k == "z" and Mode == "Neutral" then
  305. local Portal = Instance.new("Part", workspace)
  306. Portal.BrickColor = BrickColor.new("Really black")
  307. Portal.Material = "SmoothPlastic"
  308. Portal.Anchored = true
  309. Portal.CanCollide = false
  310. Portal.CFrame = PortalPart.CFrame
  311. Portal.Size = Vector3.new(0.1, 0.05, 0.1)
  312. wait(0.05)
  313. Portal.Orientation = PortalPart.Orientation
  314. Portal.Size = Vector3.new(0.3, 0.05, 0.3)
  315. wait(0.05)
  316. Portal.Orientation = PortalPart2.Orientation
  317. Portal.Size = Vector3.new(0.5, 0.05, 0.5)
  318. wait(0.05)
  319. Portal.Orientation = PortalPart.Orientation
  320. Portal.Size = Vector3.new(0.7, 0.05, 0.7)
  321. wait(0.05)
  322. Portal.Orientation = PortalPart2.Orientation
  323. Portal.Size = Vector3.new(0.9, 0.05, 0.9)
  324. wait(0.05)
  325. Portal.Orientation = PortalPart.Orientation
  326. Portal.Size = Vector3.new(1.4, 0.05, 1.4)
  327. wait(0.05)
  328. Portal.Orientation = PortalPart2.Orientation
  329. Portal.Size = Vector3.new(2, 0.05, 2)
  330. wait(0.05)
  331. Portal.Orientation = PortalPart.Orientation
  332. Portal.Size = Vector3.new(2.5, 0.05, 2.5)
  333. wait(0.05)
  334. Portal.Orientation = PortalPart2.Orientation
  335. Portal.Size = Vector3.new(3.4, 0.05, 3.4)
  336. wait(0.05)
  337. Portal.Orientation = PortalPart.Orientation
  338. Portal.Size = Vector3.new(4.3, 0.05, 4.3)
  339. local Present = Instance.new("Part", workspace)
  340. local Present2 = Instance.new("Part", workspace)
  341. Present2.Anchored = true
  342. Present2.CanCollide = false
  343. Present2.BrickColor = BrickColor.new("Institutional white")
  344. Present2.Material = "Neon"
  345. Present2.Size = Vector3.new(0.5, 2.1, 2.1)
  346. Present2.CFrame = Present.CFrame
  347. local Present2Weld = Instance.new("WeldConstraint", Present2)
  348. Present2Weld.Part0 = Present
  349. Present2Weld.Part1 = Present2
  350. Present2.Anchored = false
  351. local Present3 = Instance.new("Part", workspace)
  352. Present3.Anchored = true
  353. Present3.CanCollide = false
  354. Present3.BrickColor = BrickColor.new("Institutional white")
  355. Present3.Material = "Neon"
  356. Present3.Size = Vector3.new(2.1, 2.1, 0.5)
  357. Present3.CFrame = Present.CFrame
  358. local Present3Weld = Instance.new("WeldConstraint", Present3)
  359. Present3Weld.Part0 = Present
  360. Present3Weld.Part1 = Present3
  361. Present3.Anchored = false
  362. Present.Transparency = 0
  363. Present.CanCollide = true
  364. Present.BrickColor = BrickColor.new("Really black")
  365. Present.Material = "Neon"
  366. Present.Size = Vector3.new(2, 2, 2)
  367.  
  368. local Duh1 = Instance.new("Part", workspace)
  369. Duh1.Anchored = true
  370. Duh1.CanCollide = false
  371. Duh1.Orientation = Vector3.new(0, 0, -40)
  372. Duh1.BrickColor = BrickColor.new("Institutional white")
  373. Duh1.Material = "Neon"
  374. Duh1.Size = Vector3.new(0.336, 2.05, 0.386)
  375. Duh1.Position = Present.Position + Vector3.new(0, 1, 0)
  376. local Duh1Weld = Instance.new("WeldConstraint", Duh1)
  377. Duh1Weld.Part0 = Present
  378. Duh1Weld.Part1 = Duh1
  379. Duh1.Anchored = false
  380. local Duh2 = Instance.new("Part", workspace)
  381. Duh2.Anchored = true
  382. Duh2.CanCollide = false
  383. Duh2.Orientation = Vector3.new(0, 0, 40)
  384. Duh2.BrickColor = BrickColor.new("Institutional white")
  385. Duh2.Material = "Neon"
  386. Duh2.Size = Vector3.new(0.336, 2.05, 0.386)
  387. Duh2.Position = Present.Position + Vector3.new(0, 1, 0)
  388. local Duh2Weld = Instance.new("WeldConstraint", Duh2)
  389. Duh2Weld.Part0 = Present
  390. Duh2Weld.Part1 = Duh2
  391. Duh2.Anchored = false
  392. Present.CFrame = PortalPart.CFrame
  393. Present.Velocity = Char.HumanoidRootPart.CFrame.lookVector * 40
  394. wait(1)
  395. Portal.Orientation = PortalPart2.Orientation
  396. Portal.Size = Vector3.new(5, 0.05, 5)
  397. wait(0.05)
  398. Portal.Orientation = PortalPart.Orientation
  399. Portal.Size = Vector3.new(4.5, 0.05, 4.5)
  400. wait(0.05)
  401. Portal.Orientation = PortalPart.Orientation
  402. Portal.Size = Vector3.new(4, 0.05, 4)
  403. wait(0.05)
  404. Portal.Size = Vector3.new(3, 0.05, 3)
  405. wait(0.05)
  406. Portal.Size = Vector3.new(2, 0.05, 2)
  407. wait(0.05)
  408. Portal:Destroy()
  409. Present.Touched:Connect(function(Something)
  410. if Something.Parent:FindFirstChild("Humanoid") then
  411. if can == true then
  412. local Chance = math.random(1, 2)
  413. Present:Destroy()
  414. Present2:Destroy()
  415. Present3:Destroy()
  416. Duh1:Destroy()
  417. Duh2:Destroy()
  418. if Chance == 1 then
  419. local Character = Something.parent
  420. local Aura = Instance.new("Part", workspace)
  421. Aura.BrickColor = BrickColor.new("Institutional white")
  422. Aura.Shape = "Ball"
  423. Aura.Material = Enum.Material.ForceField
  424. Aura.Size = Vector3.new(9, 9, 9)
  425. Aura.CanCollide = true
  426. Aura.Massless = true
  427. Aura.CFrame = Character.HumanoidRootPart.CFrame
  428. local AuraWeld = Instance.new("Weld", Aura)
  429. AuraWeld.Part0 = Character.Head
  430. AuraWeld.Part1 = Aura
  431. Character.Humanoid.Health = Character.Humanoid.MaxHealth
  432. can = false
  433. wait(0.2)
  434. can = true
  435. wait(1)
  436. if Character.Humanoid.Health < 1 then
  437. Aura:Destroy()
  438. end
  439. wait(1)
  440. if Character.Humanoid.Health < 1 then
  441. Aura:Destroy()
  442. end
  443. wait(1)
  444. if Character.Humanoid.Health < 1 then
  445. Aura:Destroy()
  446. end
  447. wait(1)
  448. if Character.Humanoid.Health < 1 then
  449. Aura:Destroy()
  450. end
  451. wait(1)
  452. if Character.Humanoid.Health < 1 then
  453. Aura:Destroy()
  454. end
  455. wait(1)
  456. if Character.Humanoid.Health < 1 then
  457. Aura:Destroy()
  458. end
  459. wait(1)
  460. if Character.Humanoid.Health < 1 then
  461. Aura:Destroy()
  462. end
  463. wait(1)
  464. if Character.Humanoid.Health < 1 then
  465. Aura:Destroy()
  466. end
  467. wait(1)
  468. if Character.Humanoid.Health < 1 then
  469. Aura:Destroy()
  470. end
  471. wait(1)
  472. if Character.Humanoid.Health < 1 then
  473. Aura:Destroy()
  474. end
  475. wait(1)
  476. if Character.Humanoid.Health < 1 then
  477. Aura:Destroy()
  478. end
  479. wait(1)
  480. if Character.Humanoid.Health < 1 then
  481. Aura:Destroy()
  482. end
  483. wait(1)
  484. if Character.Humanoid.Health < 1 then
  485. Aura:Destroy()
  486. end
  487. wait(1)
  488. if Character.Humanoid.Health < 1 then
  489. Aura:Destroy()
  490. end
  491. wait(1)
  492. if Character.Humanoid.Health < 1 then
  493. Aura:Destroy()
  494. end
  495. wait(1)
  496. if Character.Humanoid.Health < 1 then
  497. Aura:Destroy()
  498. end
  499. wait(1)
  500. if Character.Humanoid.Health < 1 then
  501. Aura:Destroy()
  502. end
  503. wait(1)
  504. if Character.Humanoid.Health < 1 then
  505. Aura:Destroy()
  506. end
  507. wait(1)
  508. if Character.Humanoid.Health < 1 then
  509. Aura:Destroy()
  510. end
  511. wait(1)
  512. if Character.Humanoid.Health < 1 then
  513. Aura:Destroy()
  514. end
  515. wait(1)
  516. if Character.Humanoid.Health < 1 then
  517. Aura:Destroy()
  518. end
  519. wait(1)
  520. if Character.Humanoid.Health < 1 then
  521. Aura:Destroy()
  522. end
  523. wait(1)
  524. if Character.Humanoid.Health < 1 then
  525. Aura:Destroy()
  526. end
  527. wait(1)
  528. if Character.Humanoid.Health < 1 then
  529. Aura:Destroy()
  530. end
  531. wait(0.8)
  532. Aura.Transparency = 0.8
  533. wait(1)
  534. if Character.Humanoid.Health < 1 then
  535. Aura:Destroy()
  536. end
  537. Aura.Transparency = 0.5
  538. wait(2)
  539. if Character.Humanoid.Health < 1 then
  540. Aura:Destroy()
  541. end
  542. wait(1)
  543. if Character.Humanoid.Health < 1 then
  544. Aura:Destroy()
  545. end
  546. wait(2)
  547. if Character.Humanoid.Health < 1 then
  548. Aura:Destroy()
  549. end
  550. Aura:Destroy()
  551. else
  552. if Chance == 2 then
  553. local Character = Something.Parent
  554. local Aura = Instance.new("Part", workspace)
  555. Aura.BrickColor = BrickColor.new("Institutional white")
  556. Aura.Shape = "Ball"
  557. Aura.Material = Enum.Material.ForceField
  558. Aura.Size = Vector3.new(3, 3, 3)
  559. Aura.CanCollide = true
  560. Aura.Massless = true
  561. Aura.CFrame = Character.HumanoidRootPart.CFrame
  562. local AuraWeld = Instance.new("Weld", Aura)
  563. AuraWeld.Part0 = Character.Head
  564. AuraWeld.Part1 = Aura
  565. can = false
  566. Character.Humanoid.MaxHealth = 100
  567. wait(0.2)
  568. can = true
  569. wait(1)
  570. Character.Humanoid.Health = 90
  571. wait(1)
  572. Character.Humanoid.Health = 80
  573. wait(1)
  574. Character.Humanoid.Health = 70
  575. wait(1)
  576. Character.Humanoid.Health = 60
  577. wait(1)
  578. Character.Humanoid.Health = 50
  579. wait(1)
  580. Character.Humanoid.Health = 40
  581. wait(1)
  582. Character.Humanoid.Health = 30
  583. wait(1)
  584. Character.Humanoid.Health = 20
  585. wait(1)
  586. Character.Humanoid.Health = 10
  587. wait(3)
  588. Character.Humanoid.Health = 1
  589. wait(3)
  590. Character.Humanoid.Health = 0
  591. Aura:Destroy()
  592. end
  593. end
  594. end
  595. end
  596. end)
  597. else
  598. if k == "z" and Mode == "Necro" then
  599. local Portal = Instance.new("Part", workspace)
  600. Portal.BrickColor = BrickColor.new("Really black")
  601. Portal.Material = "SmoothPlastic"
  602. Portal.Anchored = true
  603. Portal.CanCollide = false
  604. Portal.CFrame = PortalPart.CFrame
  605. Portal.Size = Vector3.new(0.1, 0.05, 0.1)
  606. wait(0.05)
  607. Portal.Orientation = PortalPart.Orientation
  608. Portal.Size = Vector3.new(0.3, 0.05, 0.3)
  609. wait(0.05)
  610. Portal.Orientation = PortalPart2.Orientation
  611. Portal.Size = Vector3.new(0.5, 0.05, 0.5)
  612. wait(0.05)
  613. Portal.Orientation = PortalPart.Orientation
  614. Portal.Size = Vector3.new(0.7, 0.05, 0.7)
  615. wait(0.05)
  616. Portal.Orientation = PortalPart2.Orientation
  617. Portal.Size = Vector3.new(0.9, 0.05, 0.9)
  618. wait(0.05)
  619. Portal.Orientation = PortalPart.Orientation
  620. Portal.Size = Vector3.new(1.4, 0.05, 1.4)
  621. wait(0.05)
  622. Portal.Orientation = PortalPart2.Orientation
  623. Portal.Size = Vector3.new(2, 0.05, 2)
  624. wait(0.05)
  625. Portal.Orientation = PortalPart.Orientation
  626. Portal.Size = Vector3.new(2.5, 0.05, 2.5)
  627. wait(0.05)
  628. Portal.Orientation = PortalPart2.Orientation
  629. Portal.Size = Vector3.new(3.4, 0.05, 3.4)
  630. wait(0.05)
  631. Portal.Orientation = PortalPart.Orientation
  632. Portal.Size = Vector3.new(4.3, 0.05, 4.3)
  633. local Present = Instance.new("Part", workspace)
  634. local Present2 = Instance.new("Part", workspace)
  635. Present2.Anchored = true
  636. Present2.CanCollide = false
  637. Present2.BrickColor = BrickColor.new("Royal purple")
  638. Present2.Material = "Neon"
  639. Present2.Size = Vector3.new(0.5, 2.1, 2.1)
  640. Present2.CFrame = Present.CFrame
  641. local Present2Weld = Instance.new("WeldConstraint", Present2)
  642. Present2Weld.Part0 = Present
  643. Present2Weld.Part1 = Present2
  644. Present2.Anchored = false
  645. local Present3 = Instance.new("Part", workspace)
  646. Present3.Anchored = true
  647. Present3.CanCollide = false
  648. Present3.BrickColor = BrickColor.new("Royal purple")
  649. Present3.Material = "Neon"
  650. Present3.Size = Vector3.new(2.1, 2.1, 0.5)
  651. Present3.CFrame = Present.CFrame
  652. local Present3Weld = Instance.new("WeldConstraint", Present3)
  653. Present3Weld.Part0 = Present
  654. Present3Weld.Part1 = Present3
  655. Present3.Anchored = false
  656. Present.Transparency = 0
  657. Present.CanCollide = true
  658. Present.BrickColor = BrickColor.new("Really black")
  659. Present.Material = "Neon"
  660. Present.Size = Vector3.new(2, 2, 2)
  661.  
  662. local Duh1 = Instance.new("Part", workspace)
  663. Duh1.Anchored = true
  664. Duh1.CanCollide = false
  665. Duh1.Orientation = Vector3.new(0, 0, -40)
  666. Duh1.BrickColor = BrickColor.new("Royal purple")
  667. Duh1.Material = "Neon"
  668. Duh1.Size = Vector3.new(0.336, 2.05, 0.386)
  669. Duh1.Position = Present.Position + Vector3.new(0, 1, 0)
  670. local Duh1Weld = Instance.new("WeldConstraint", Duh1)
  671. Duh1Weld.Part0 = Present
  672. Duh1Weld.Part1 = Duh1
  673. Duh1.Anchored = false
  674. local Duh2 = Instance.new("Part", workspace)
  675. Duh2.Anchored = true
  676. Duh2.CanCollide = false
  677. Duh2.Orientation = Vector3.new(0, 0, 40)
  678. Duh2.BrickColor = BrickColor.new("Royal purple")
  679. Duh2.Material = "Neon"
  680. Duh2.Size = Vector3.new(0.336, 2.05, 0.386)
  681. Duh2.Position = Present.Position + Vector3.new(0, 1, 0)
  682. local Duh2Weld = Instance.new("WeldConstraint", Duh2)
  683. Duh2Weld.Part0 = Present
  684. Duh2Weld.Part1 = Duh2
  685. Duh2.Anchored = false
  686. Present.CFrame = PortalPart.CFrame
  687. Present.Velocity = Char.HumanoidRootPart.CFrame.lookVector * 40
  688. wait(1)
  689. Portal.Orientation = PortalPart2.Orientation
  690. Portal.Size = Vector3.new(5, 0.05, 5)
  691. wait(0.05)
  692. Portal.Orientation = PortalPart.Orientation
  693. Portal.Size = Vector3.new(4.5, 0.05, 4.5)
  694. wait(0.05)
  695. Portal.Orientation = PortalPart.Orientation
  696. Portal.Size = Vector3.new(4, 0.05, 4)
  697. wait(0.05)
  698. Portal.Size = Vector3.new(3, 0.05, 3)
  699. wait(0.05)
  700. Portal.Size = Vector3.new(2, 0.05, 2)
  701. wait(0.05)
  702. Portal:Destroy()
  703. Present.Touched:Connect(function(Something)
  704. if Something.Parent:FindFirstChild("Humanoid") then
  705. if can == true then
  706. local Chance = math.random(1, 2)
  707. Present:Destroy()
  708. Present2:Destroy()
  709. Present3:Destroy()
  710. Duh1:Destroy()
  711. Duh2:Destroy()
  712.  
  713. local CharacterReal = Something.Parent
  714. CharacterReal.Archivable = true
  715.  
  716. if Minion1 == "None" then
  717. Minion1 = CharacterReal:Clone()
  718. local Virus = Instance.new("IntValue", Minion1)
  719. Virus.Value = 1
  720. Virus.Name = "Virus"
  721. Minion1.Parent = Char
  722. Minion1:moveTo(CharacterReal.Torso.Position)
  723. Minion1.Name = ("Minion")
  724. CharacterReal.Humanoid.Health = 0
  725. CharacterReal.Torso:Destroy()
  726. local Aura = Instance.new("Part", Minion1)
  727. Aura.BrickColor = BrickColor.new("Royal purple")
  728. Aura.Shape = "Ball"
  729. Aura.Material = Enum.Material.ForceField
  730. Aura.Size = Vector3.new(3, 3, 3)
  731. Aura.CanCollide = true
  732. Aura.Massless = true
  733. Aura.CFrame = Minion1.HumanoidRootPart.CFrame
  734. local AuraWeld = Instance.new("Weld", Aura)
  735. AuraWeld.Part0 = Minion1.Head
  736. AuraWeld.Part1 = Aura
  737. can = false
  738. wait(0.2)
  739. can = true
  740. Minion1["Right Arm"].Touched:Connect(function(samthing)
  741. if samthing.Parent:FindFirstChild("Humanoid") then
  742. if samthing.Parent.Name == "Minion" then
  743.  
  744. else
  745. samthing:Destroy()
  746. end
  747. end
  748. end)
  749. else
  750. if Minion2 == "None" then
  751. Minion2 = CharacterReal:Clone()
  752. local Virus = Instance.new("IntValue", Minion2)
  753. Virus.Value = 1
  754. Virus.Name = "Virus"
  755. Minion2.Parent = Char
  756. Minion2:moveTo(CharacterReal.Torso.Position)
  757. Minion2.Name = ("Minion")
  758. CharacterReal.Humanoid.Health = 0
  759. CharacterReal.Torso:Destroy()
  760. local Aura = Instance.new("Part", Minion2)
  761. Aura.BrickColor = BrickColor.new("Royal purple")
  762. Aura.Shape = "Ball"
  763. Aura.Material = Enum.Material.ForceField
  764. Aura.Size = Vector3.new(3, 3, 3)
  765. Aura.CanCollide = true
  766. Aura.Massless = true
  767. Aura.CFrame = Minion2.HumanoidRootPart.CFrame
  768. local AuraWeld = Instance.new("Weld", Aura)
  769. AuraWeld.Part0 = Minion2.Head
  770. AuraWeld.Part1 = Aura
  771. can = false
  772. wait(0.2)
  773. can = true
  774. Minion2["Right Arm"].Touched:Connect(function(samthing)
  775. if samthing.Parent:FindFirstChild("Humanoid") then
  776. if samthing.Parent.Name == "Minion" then
  777.  
  778. else
  779. samthing:Destroy()
  780. end
  781. end
  782. end)
  783. else
  784. if Minion3 == "None" then
  785. Minion3 = CharacterReal:Clone()
  786. local Virus = Instance.new("IntValue", Minion3)
  787. Virus.Value = 1
  788. Virus.Name = "Virus"
  789. Minion3.Parent = Char
  790. Minion3:moveTo(CharacterReal.Torso.Position)
  791. Minion3.Name = ("Minion")
  792. CharacterReal.Humanoid.Health = 0
  793. CharacterReal.Torso:Destroy()
  794. local Aura = Instance.new("Part", Minion3)
  795. Aura.BrickColor = BrickColor.new("Royal purple")
  796. Aura.Shape = "Ball"
  797. Aura.Material = Enum.Material.ForceField
  798. Aura.Size = Vector3.new(3, 3, 3)
  799. Aura.CanCollide = true
  800. Aura.Massless = true
  801. Aura.CFrame = Minion3.HumanoidRootPart.CFrame
  802. local AuraWeld = Instance.new("Weld", Aura)
  803. AuraWeld.Part0 = Minion3.Head
  804. AuraWeld.Part1 = Aura
  805. can = false
  806. wait(0.2)
  807. can = true
  808. Minion3["Right Arm"].Touched:Connect(function(samthing)
  809. if samthing.Parent:FindFirstChild("Humanoid") then
  810. if samthing.Parent.Name == "Minion" then
  811.  
  812. else
  813. samthing:Destroy()
  814. end
  815. end
  816. end)
  817. else
  818. if Minion4 == "None" then
  819. Minion4 = CharacterReal:Clone()
  820. local Virus = Instance.new("IntValue", Minion4)
  821. Virus.Value = 1
  822. Virus.Name = "Virus"
  823. Minion4.Parent = Char
  824. Minion4:moveTo(CharacterReal.Torso.Position)
  825. Minion4.Name = ("Minion")
  826. CharacterReal.Humanoid.Health = 0
  827. CharacterReal.Torso:Destroy()
  828. local Aura = Instance.new("Part", Minion4)
  829. Aura.BrickColor = BrickColor.new("Royal purple")
  830. Aura.Shape = "Ball"
  831. Aura.Material = Enum.Material.ForceField
  832. Aura.Size = Vector3.new(3, 3, 3)
  833. Aura.CanCollide = true
  834. Aura.Massless = true
  835. Aura.CFrame = Minion4.HumanoidRootPart.CFrame
  836. local AuraWeld = Instance.new("Weld", Aura)
  837. AuraWeld.Part0 = Minion4.Head
  838. AuraWeld.Part1 = Aura
  839. can = false
  840. wait(0.2)
  841. can = true
  842. Minion4["Right Arm"].Touched:Connect(function(samthing)
  843. if samthing.Parent:FindFirstChild("Humanoid") then
  844. if samthing.Parent.Name == "Minion" then
  845.  
  846. else
  847. samthing:Destroy()
  848. end
  849. end
  850. end)
  851. else
  852. if Minion5 == "None" then
  853. Minion5 = CharacterReal:Clone()
  854. local Virus = Instance.new("IntValue", Minion5)
  855. Virus.Value = 1
  856. Virus.Name = "Virus"
  857. Minion5.Parent = Char
  858. Minion5:moveTo(CharacterReal.Torso.Position)
  859. Minion5.Name = ("Minion")
  860. CharacterReal.Humanoid.Health = 0
  861. CharacterReal.Torso:Destroy()
  862. local Aura = Instance.new("Part", Minion5)
  863. Aura.BrickColor = BrickColor.new("Royal purple")
  864. Aura.Shape = "Ball"
  865. Aura.Material = Enum.Material.ForceField
  866. Aura.Size = Vector3.new(3, 3, 3)
  867. Aura.CanCollide = true
  868. Aura.Massless = true
  869. Aura.CFrame = Minion5.HumanoidRootPart.CFrame
  870. local AuraWeld = Instance.new("Weld", Aura)
  871. AuraWeld.Part0 = Minion5.Head
  872. AuraWeld.Part1 = Aura
  873. can = false
  874. wait(0.2)
  875. can = true
  876. Minion5["Right Arm"].Touched:Connect(function(samthing)
  877. if samthing.Parent:FindFirstChild("Humanoid") then
  878. if samthing.Parent.Name == "Minion" then
  879.  
  880. else
  881. samthing:Destroy()
  882. end
  883. end
  884. end)
  885. end
  886. end
  887. end
  888. end
  889. end
  890. end
  891. end
  892. end)
  893. else
  894. if k == "z" and Mode == "Angry" then
  895. local Portal = Instance.new("Part", workspace)
  896. Portal.BrickColor = BrickColor.new("Really black")
  897. Portal.Material = "SmoothPlastic"
  898. Portal.Anchored = true
  899. Portal.CanCollide = false
  900. Portal.CFrame = PortalPart.CFrame
  901. Portal.Size = Vector3.new(0.1, 0.05, 0.1)
  902. wait(0.05)
  903. Portal.Orientation = PortalPart.Orientation
  904. Portal.Size = Vector3.new(0.3, 0.05, 0.3)
  905. wait(0.05)
  906. Portal.Orientation = PortalPart2.Orientation
  907. Portal.Size = Vector3.new(0.5, 0.05, 0.5)
  908. wait(0.05)
  909. Portal.Orientation = PortalPart.Orientation
  910. Portal.Size = Vector3.new(0.7, 0.05, 0.7)
  911. wait(0.05)
  912. Portal.Orientation = PortalPart2.Orientation
  913. Portal.Size = Vector3.new(0.9, 0.05, 0.9)
  914. wait(0.05)
  915. Portal.Orientation = PortalPart.Orientation
  916. Portal.Size = Vector3.new(1.4, 0.05, 1.4)
  917. wait(0.05)
  918. Portal.Orientation = PortalPart2.Orientation
  919. Portal.Size = Vector3.new(2, 0.05, 2)
  920. wait(0.05)
  921. Portal.Orientation = PortalPart.Orientation
  922. Portal.Size = Vector3.new(2.5, 0.05, 2.5)
  923. wait(0.05)
  924. Portal.Orientation = PortalPart2.Orientation
  925. Portal.Size = Vector3.new(3.4, 0.05, 3.4)
  926. wait(0.05)
  927. Portal.Orientation = PortalPart.Orientation
  928. Portal.Size = Vector3.new(4.3, 0.05, 4.3)
  929. local Present = Instance.new("Part", workspace)
  930. local Present2 = Instance.new("Part", workspace)
  931. Present2.Anchored = true
  932. Present2.CanCollide = false
  933. Present2.BrickColor = BrickColor.new("New Yeller")
  934. Present2.Material = "Neon"
  935. Present2.Size = Vector3.new(0.5, 2.1, 2.1)
  936. Present2.CFrame = Present.CFrame
  937. local Present2Weld = Instance.new("WeldConstraint", Present2)
  938. Present2Weld.Part0 = Present
  939. Present2Weld.Part1 = Present2
  940. Present2.Anchored = false
  941. local Present3 = Instance.new("Part", workspace)
  942. Present3.Anchored = true
  943. Present3.CanCollide = false
  944. Present3.BrickColor = BrickColor.new("New Yeller")
  945. Present3.Material = "Neon"
  946. Present3.Size = Vector3.new(2.1, 2.1, 0.5)
  947. Present3.CFrame = Present.CFrame
  948. local Present3Weld = Instance.new("WeldConstraint", Present3)
  949. Present3Weld.Part0 = Present
  950. Present3Weld.Part1 = Present3
  951. Present3.Anchored = false
  952. Present.Transparency = 0
  953. Present.CanCollide = true
  954. Present.BrickColor = BrickColor.new("Really black")
  955. Present.Material = "Neon"
  956. Present.Size = Vector3.new(2, 2, 2)
  957.  
  958. local Duh1 = Instance.new("Part", workspace)
  959. Duh1.Anchored = true
  960. Duh1.CanCollide = false
  961. Duh1.Orientation = Vector3.new(0, 0, -40)
  962. Duh1.BrickColor = BrickColor.new("New Yeller")
  963. Duh1.Material = "Neon"
  964. Duh1.Size = Vector3.new(0.336, 2.05, 0.386)
  965. Duh1.Position = Present.Position + Vector3.new(0, 1, 0)
  966. local Duh1Weld = Instance.new("WeldConstraint", Duh1)
  967. Duh1Weld.Part0 = Present
  968. Duh1Weld.Part1 = Duh1
  969. Duh1.Anchored = false
  970. local Duh2 = Instance.new("Part", workspace)
  971. Duh2.Anchored = true
  972. Duh2.CanCollide = false
  973. Duh2.Orientation = Vector3.new(0, 0, 40)
  974. Duh2.BrickColor = BrickColor.new("New Yeller")
  975. Duh2.Material = "Neon"
  976. Duh2.Size = Vector3.new(0.336, 2.05, 0.386)
  977. Duh2.Position = Present.Position + Vector3.new(0, 1, 0)
  978. local Duh2Weld = Instance.new("WeldConstraint", Duh2)
  979. Duh2Weld.Part0 = Present
  980. Duh2Weld.Part1 = Duh2
  981. Duh2.Anchored = false
  982. Present.CFrame = PortalPart.CFrame
  983. Present.Velocity = Char.HumanoidRootPart.CFrame.lookVector * 40
  984. wait(1)
  985. Portal.Orientation = PortalPart2.Orientation
  986. Portal.Size = Vector3.new(5, 0.05, 5)
  987. wait(0.05)
  988. Portal.Orientation = PortalPart.Orientation
  989. Portal.Size = Vector3.new(4.5, 0.05, 4.5)
  990. wait(0.05)
  991. Portal.Orientation = PortalPart.Orientation
  992. Portal.Size = Vector3.new(4, 0.05, 4)
  993. wait(0.05)
  994. Portal.Size = Vector3.new(3, 0.05, 3)
  995. wait(0.05)
  996. Portal.Size = Vector3.new(2, 0.05, 2)
  997. wait(0.05)
  998. Portal:Destroy()
  999. Present.Touched:Connect(function(Something)
  1000. if Something.Parent:FindFirstChild("Humanoid") then
  1001. if can == true then
  1002. local Chance = math.random(1, 2)
  1003. Present:Destroy()
  1004. Present2:Destroy()
  1005. Present3:Destroy()
  1006. Duh1:Destroy()
  1007. Duh2:Destroy()
  1008.  
  1009. local Character = Something.Parent
  1010. local Aura = Instance.new("Part", workspace)
  1011. Aura.BrickColor = BrickColor.new("New Yeller")
  1012. Aura.Shape = "Ball"
  1013. Aura.Material = Enum.Material.ForceField
  1014. Aura.Size = Vector3.new(3, 3, 3)
  1015. Aura.CanCollide = true
  1016. Aura.Massless = true
  1017. Aura.CFrame = Character.HumanoidRootPart.CFrame
  1018. local AuraWeld = Instance.new("Weld", Aura)
  1019. AuraWeld.Part0 = Character.Head
  1020. AuraWeld.Part1 = Aura
  1021. can = false
  1022. Character.Humanoid.MaxHealth = 100
  1023. wait(0.2)
  1024. can = true
  1025. wait(1)
  1026. Character.Humanoid.Health = 90
  1027. wait(1)
  1028. Character.Humanoid.Health = 80
  1029. wait(1)
  1030. Character.Humanoid.Health = 70
  1031. wait(1)
  1032. Character.Humanoid.Health = 60
  1033. wait(1)
  1034. Character.Humanoid.Health = 50
  1035. wait(1)
  1036. Character.Humanoid.Health = 40
  1037. wait(1)
  1038. Character.Humanoid.Health = 30
  1039. wait(1)
  1040. Character.Humanoid.Health = 20
  1041. wait(1)
  1042. Character.Humanoid.Health = 10
  1043. wait(3)
  1044. Character.Humanoid.Health = 1
  1045. wait(3)
  1046. Character.Humanoid.Health = 0
  1047. Aura:Destroy()
  1048. end
  1049. end
  1050. end)
  1051. else
  1052. if k == "z" and Mode == "Happy" then
  1053. local Portal = Instance.new("Part", workspace)
  1054. Portal.BrickColor = BrickColor.new("Really black")
  1055. Portal.Material = "SmoothPlastic"
  1056. Portal.Anchored = true
  1057. Portal.CanCollide = false
  1058. Portal.CFrame = PortalPart.CFrame
  1059. Portal.Size = Vector3.new(0.1, 0.05, 0.1)
  1060. wait(0.05)
  1061. Portal.Orientation = PortalPart.Orientation
  1062. Portal.Size = Vector3.new(0.3, 0.05, 0.3)
  1063. wait(0.05)
  1064. Portal.Orientation = PortalPart2.Orientation
  1065. Portal.Size = Vector3.new(0.5, 0.05, 0.5)
  1066. wait(0.05)
  1067. Portal.Orientation = PortalPart.Orientation
  1068. Portal.Size = Vector3.new(0.7, 0.05, 0.7)
  1069. wait(0.05)
  1070. Portal.Orientation = PortalPart2.Orientation
  1071. Portal.Size = Vector3.new(0.9, 0.05, 0.9)
  1072. wait(0.05)
  1073. Portal.Orientation = PortalPart.Orientation
  1074. Portal.Size = Vector3.new(1.4, 0.05, 1.4)
  1075. wait(0.05)
  1076. Portal.Orientation = PortalPart2.Orientation
  1077. Portal.Size = Vector3.new(2, 0.05, 2)
  1078. wait(0.05)
  1079. Portal.Orientation = PortalPart.Orientation
  1080. Portal.Size = Vector3.new(2.5, 0.05, 2.5)
  1081. wait(0.05)
  1082. Portal.Orientation = PortalPart2.Orientation
  1083. Portal.Size = Vector3.new(3.4, 0.05, 3.4)
  1084. wait(0.05)
  1085. Portal.Orientation = PortalPart.Orientation
  1086. Portal.Size = Vector3.new(4.3, 0.05, 4.3)
  1087. local Present = Instance.new("Part", workspace)
  1088. local Present2 = Instance.new("Part", workspace)
  1089. Present2.Anchored = true
  1090. Present2.CanCollide = false
  1091. Present2.BrickColor = BrickColor.new("Lime green")
  1092. Present2.Material = "Neon"
  1093. Present2.Size = Vector3.new(0.5, 2.1, 2.1)
  1094. Present2.CFrame = Present.CFrame
  1095. local Present2Weld = Instance.new("WeldConstraint", Present2)
  1096. Present2Weld.Part0 = Present
  1097. Present2Weld.Part1 = Present2
  1098. Present2.Anchored = false
  1099. local Present3 = Instance.new("Part", workspace)
  1100. Present3.Anchored = true
  1101. Present3.CanCollide = false
  1102. Present3.BrickColor = BrickColor.new("Lime green")
  1103. Present3.Material = "Neon"
  1104. Present3.Size = Vector3.new(2.1, 2.1, 0.5)
  1105. Present3.CFrame = Present.CFrame
  1106. local Present3Weld = Instance.new("WeldConstraint", Present3)
  1107. Present3Weld.Part0 = Present
  1108. Present3Weld.Part1 = Present3
  1109. Present3.Anchored = false
  1110. Present.Transparency = 0
  1111. Present.CanCollide = true
  1112. Present.BrickColor = BrickColor.new("Really black")
  1113. Present.Material = "Neon"
  1114. Present.Size = Vector3.new(2, 2, 2)
  1115.  
  1116. local Duh1 = Instance.new("Part", workspace)
  1117. Duh1.Anchored = true
  1118. Duh1.CanCollide = false
  1119. Duh1.Orientation = Vector3.new(0, 0, -40)
  1120. Duh1.BrickColor = BrickColor.new("Lime green")
  1121. Duh1.Material = "Neon"
  1122. Duh1.Size = Vector3.new(0.336, 2.05, 0.386)
  1123. Duh1.Position = Present.Position + Vector3.new(0, 1, 0)
  1124. local Duh1Weld = Instance.new("WeldConstraint", Duh1)
  1125. Duh1Weld.Part0 = Present
  1126. Duh1Weld.Part1 = Duh1
  1127. Duh1.Anchored = false
  1128. local Duh2 = Instance.new("Part", workspace)
  1129. Duh2.Anchored = true
  1130. Duh2.CanCollide = false
  1131. Duh2.Orientation = Vector3.new(0, 0, 40)
  1132. Duh2.BrickColor = BrickColor.new("Lime green")
  1133. Duh2.Material = "Neon"
  1134. Duh2.Size = Vector3.new(0.336, 2.05, 0.386)
  1135. Duh2.Position = Present.Position + Vector3.new(0, 1, 0)
  1136. local Duh2Weld = Instance.new("WeldConstraint", Duh2)
  1137. Duh2Weld.Part0 = Present
  1138. Duh2Weld.Part1 = Duh2
  1139. Duh2.Anchored = false
  1140. Present.CFrame = PortalPart.CFrame
  1141. Present.Velocity = Char.HumanoidRootPart.CFrame.lookVector * 40
  1142. wait(1)
  1143. Portal.Orientation = PortalPart2.Orientation
  1144. Portal.Size = Vector3.new(5, 0.05, 5)
  1145. wait(0.05)
  1146. Portal.Orientation = PortalPart.Orientation
  1147. Portal.Size = Vector3.new(4.5, 0.05, 4.5)
  1148. wait(0.05)
  1149. Portal.Orientation = PortalPart.Orientation
  1150. Portal.Size = Vector3.new(4, 0.05, 4)
  1151. wait(0.05)
  1152. Portal.Size = Vector3.new(3, 0.05, 3)
  1153. wait(0.05)
  1154. Portal.Size = Vector3.new(2, 0.05, 2)
  1155. wait(0.05)
  1156. Portal:Destroy()
  1157. Present.Touched:Connect(function(Something)
  1158. if Something.Parent:FindFirstChild("Humanoid") then
  1159. if can == true then
  1160. Present:Destroy()
  1161. Present2:Destroy()
  1162. Present3:Destroy()
  1163. Duh1:Destroy()
  1164. Duh2:Destroy()
  1165.  
  1166. local Character = Something.parent
  1167. local Aura = Instance.new("Part", workspace)
  1168. Aura.BrickColor = BrickColor.new("Lime green")
  1169. Aura.Shape = "Ball"
  1170. Aura.Material = Enum.Material.ForceField
  1171. Aura.Size = Vector3.new(10.5, 10.5, 10.5)
  1172. Aura.CanCollide = true
  1173. Aura.Massless = true
  1174. Aura.CFrame = Character.HumanoidRootPart.CFrame
  1175. local AuraWeld = Instance.new("Weld", Aura)
  1176. AuraWeld.Part0 = Character.Head
  1177. AuraWeld.Part1 = Aura
  1178. Character.Humanoid.Health = Character.Humanoid.MaxHealth
  1179. can = false
  1180. wait(0.2)
  1181. can = true
  1182. wait(1)
  1183. if Character.Humanoid.Health < 1 then
  1184. Aura:Destroy()
  1185. end
  1186. wait(1)
  1187. if Character.Humanoid.Health < 1 then
  1188. Aura:Destroy()
  1189. end
  1190. wait(1)
  1191. if Character.Humanoid.Health < 1 then
  1192. Aura:Destroy()
  1193. end
  1194. wait(1)
  1195. if Character.Humanoid.Health < 1 then
  1196. Aura:Destroy()
  1197. end
  1198. wait(1)
  1199. if Character.Humanoid.Health < 1 then
  1200. Aura:Destroy()
  1201. end
  1202. wait(1)
  1203. if Character.Humanoid.Health < 1 then
  1204. Aura:Destroy()
  1205. end
  1206. wait(1)
  1207. if Character.Humanoid.Health < 1 then
  1208. Aura:Destroy()
  1209. end
  1210. wait(1)
  1211. if Character.Humanoid.Health < 1 then
  1212. Aura:Destroy()
  1213. end
  1214. wait(1)
  1215. if Character.Humanoid.Health < 1 then
  1216. Aura:Destroy()
  1217. end
  1218. wait(1)
  1219. if Character.Humanoid.Health < 1 then
  1220. Aura:Destroy()
  1221. end
  1222. wait(1)
  1223. if Character.Humanoid.Health < 1 then
  1224. Aura:Destroy()
  1225. end
  1226. wait(1)
  1227. if Character.Humanoid.Health < 1 then
  1228. Aura:Destroy()
  1229. end
  1230. wait(1)
  1231. if Character.Humanoid.Health < 1 then
  1232. Aura:Destroy()
  1233. end
  1234. wait(1)
  1235. if Character.Humanoid.Health < 1 then
  1236. Aura:Destroy()
  1237. end
  1238. wait(1)
  1239. if Character.Humanoid.Health < 1 then
  1240. Aura:Destroy()
  1241. end
  1242. wait(1)
  1243. if Character.Humanoid.Health < 1 then
  1244. Aura:Destroy()
  1245. end
  1246. wait(1)
  1247. if Character.Humanoid.Health < 1 then
  1248. Aura:Destroy()
  1249. end
  1250. wait(1)
  1251. if Character.Humanoid.Health < 1 then
  1252. Aura:Destroy()
  1253. end
  1254. wait(1)
  1255. if Character.Humanoid.Health < 1 then
  1256. Aura:Destroy()
  1257. end
  1258. wait(1)
  1259. if Character.Humanoid.Health < 1 then
  1260. Aura:Destroy()
  1261. end
  1262. wait(1)
  1263. if Character.Humanoid.Health < 1 then
  1264. Aura:Destroy()
  1265. end
  1266. wait(1)
  1267. if Character.Humanoid.Health < 1 then
  1268. Aura:Destroy()
  1269. end
  1270. wait(1)
  1271. if Character.Humanoid.Health < 1 then
  1272. Aura:Destroy()
  1273. end
  1274. wait(1)
  1275. if Character.Humanoid.Health < 1 then
  1276. Aura:Destroy()
  1277. end
  1278. wait(0.8)
  1279. Aura.Transparency = 0.8
  1280. wait(1)
  1281. if Character.Humanoid.Health < 1 then
  1282. Aura:Destroy()
  1283. end
  1284. Aura.Transparency = 0.5
  1285. wait(2)
  1286. if Character.Humanoid.Health < 1 then
  1287. Aura:Destroy()
  1288. end
  1289. wait(1)
  1290. if Character.Humanoid.Health < 1 then
  1291. Aura:Destroy()
  1292. end
  1293. wait(2)
  1294. if Character.Humanoid.Health < 1 then
  1295. Aura:Destroy()
  1296. end
  1297. Aura:Destroy()
  1298. end
  1299. end
  1300. end)
  1301. end
  1302. end
  1303. end
  1304. end
  1305. end)
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311. m.KeyDown:Connect(function(k)
  1312. k:lower()
  1313. if k == "e" then
  1314. if ModeN >= 1 and ModeN < 5 then
  1315. ModeN = ModeN + 1
  1316. if ModeN == 1 then
  1317. TopHat2.BrickColor = BrickColor.new("Institutional white")
  1318. Mode = "Neutral"
  1319. NameText.TextColor3 = Color3.new(500, 500, 500)
  1320. else
  1321. if ModeN == 2 then
  1322. TopHat2.BrickColor = BrickColor.new("Lime green")
  1323. Mode = "Happy"
  1324. NameText.TextColor3 = Color3.new(0, 255, 0)
  1325. else
  1326. if ModeN == 3 then
  1327. TopHat2.BrickColor = BrickColor.new("New Yeller")
  1328. NameText.TextColor3 = Color3.new(255, 255, 0)
  1329. Mode = "Angry"
  1330. else
  1331. if ModeN == 4 then
  1332. NameText.TextColor3 = Color3.new(98, 37, 209)
  1333. TopHat2.BrickColor = BrickColor.new("Royal purple")
  1334. Mode = "Necro"
  1335. else
  1336. if ModeN == 5 then
  1337. TopHat2.BrickColor = BrickColor.new("Really red")
  1338. NameText.TextColor3 = Color3.new(255, 0, 0)
  1339. Mode = "Mad"
  1340. end
  1341. end
  1342. end
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end)
  1348.  
  1349. m.KeyDown:Connect(function(k)
  1350. k:lower()
  1351. if k == "q" then
  1352. if ModeN >= 2 then
  1353. ModeN = ModeN - 1
  1354. if ModeN == 1 then
  1355. TopHat2.BrickColor = BrickColor.new("Institutional white")
  1356. NameText.TextColor3 = Color3.new(500, 500, 500)
  1357. Mode = "Neutral"
  1358. else
  1359. if ModeN == 2 then
  1360. TopHat2.BrickColor = BrickColor.new("Lime green")
  1361. NameText.TextColor3 = Color3.new(0, 255, 0)
  1362. Mode = "Happy"
  1363. else
  1364. if ModeN == 3 then
  1365. TopHat2.BrickColor = BrickColor.new("New Yeller")
  1366. NameText.TextColor3 = Color3.new(255, 255, 0)
  1367. Mode = "Angry"
  1368. else
  1369. if ModeN == 4 then
  1370. NameText.TextColor3 = Color3.new(98, 37, 209)
  1371. TopHat2.BrickColor = BrickColor.new("Royal purple") Mode = "Necro"
  1372. else
  1373. if ModeN == 5 then
  1374. TopHat2.BrickColor = BrickColor.new("Really red")
  1375. NameText.TextColor3 = Color3.new(255, 0, 0)
  1376. Mode = "Mad"
  1377. end
  1378. end
  1379. end
  1380. end
  1381. end
  1382. end
  1383. end
  1384. end)
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. m.KeyDown:Connect(function(k)
  1391. k:lower()
  1392. if k == "f" then
  1393. if Mode == "Necro" then
  1394. Minion1.Humanoid.WalkToPoint = m.Hit.Position
  1395. Minion2.Humanoid.WalkToPoint = m.Hit.Position
  1396. Minion3.Humanoid.WalkToPoint = m.Hit.Position
  1397. Minion4.Humanoid.WalkToPoint = m.Hit.Position
  1398. Minion5.Humanoid.WalkToPoint = m.Hit.Position
  1399. end
  1400. end
  1401. end)
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496. --// Instance Creation Functions \\--
  1497.  
  1498.  
  1499. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1500. local part = IN("Part")
  1501. part.Parent = parent or Char
  1502. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1503. part.Material = material or Enum.Material.SmoothPlastic
  1504. part.TopSurface,part.BottomSurface=10,10
  1505. part.Size = size or V3.N(1,1,1)
  1506. part.CFrame = cframe or CF.N(0,0,0)
  1507. part.CanCollide = cancollide or false
  1508. part.Anchored = anchored or false
  1509. return part
  1510. end
  1511.  
  1512. function Weld(part0,part1,c0,c1)
  1513. local weld = IN("Weld")
  1514. weld.Parent = part0
  1515. weld.Part0 = part0
  1516. weld.Part1 = part1
  1517. weld.C0 = c0 or CF.N()
  1518. weld.C1 = c1 or CF.N()
  1519. return weld
  1520. end
  1521.  
  1522. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1523. local part = IN("SpecialMesh")
  1524. part.MeshId = meshid or ""
  1525. part.TextureId = textid or ""
  1526. part.Scale = scale or V3.N(1,1,1)
  1527. part.Offset = offset or V3.N(0,0,0)
  1528. part.MeshType = meshtype or Enum.MeshType.Sphere
  1529. part.Parent = parent
  1530. return part
  1531. end
  1532.  
  1533. NewInstance = function(instance,parent,properties)
  1534. local inst = Instance.new(instance)
  1535. inst.Parent = parent
  1536. if(properties)then
  1537. for i,v in next, properties do
  1538. pcall(function() inst[i] = v end)
  1539. end
  1540. end
  1541. return inst;
  1542. end
  1543.  
  1544. function Clone(instance,parent,properties)
  1545. local inst = instance:Clone()
  1546. inst.Parent = parent
  1547. if(properties)then
  1548. for i,v in next, properties do
  1549. pcall(function() inst[i] = v end)
  1550. end
  1551. end
  1552. return inst;
  1553. end
  1554.  
  1555.  
  1556.  
  1557.  
  1558. --// Customization \\--
  1559.  
  1560. local Frame_Speed = 60;
  1561. local WalkSpeed = 16
  1562. local DamageColor = BrickColor.new'White'
  1563.  
  1564. --// Stop animations \\--
  1565. for _,v in next, Hum:GetPlayingAnimationTracks() do
  1566. v:Stop();
  1567. end
  1568.  
  1569. pcall(game.Destroy,Char:FindFirstChild'Animate')
  1570. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  1571.  
  1572. --// Joints \\--
  1573.  
  1574. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5,0.5,0),C1 = CF.N(0,.5,0)})
  1575. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5,0.5,0),C1 = CF.N(0,.5,0)})
  1576. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5,0)})
  1577. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5,-1,0),C1 = CF.N(0,1,0)})
  1578. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5,-1,0),C1 = CF.N(0,1,0)})
  1579. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  1580.  
  1581. local LSC0 = LS.C0
  1582. local RSC0 = RS.C0
  1583. local NKC0 = NK.C0
  1584. local LHC0 = LH.C0
  1585. local RHC0 = RH.C0
  1586. local RJC0 = RJ.C0
  1587.  
  1588. --// Artificial HB \\--
  1589.  
  1590. local ArtificialHB = IN("BindableEvent", script)
  1591. ArtificialHB.Name = "Heartbeat"
  1592.  
  1593. script:WaitForChild("Heartbeat")
  1594.  
  1595. local tf = 0
  1596. local allowframeloss = false
  1597. local tossremainder = false
  1598. local lastframe = tick()
  1599. local frame = 1/Frame_Speed
  1600. ArtificialHB:Fire()
  1601.  
  1602. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1603. tf = tf + s
  1604. if tf >= frame then
  1605. if allowframeloss then
  1606. script.Heartbeat:Fire()
  1607. lastframe = tick()
  1608. else
  1609. for i = 1, math.floor(tf / frame) do
  1610. ArtificialHB:Fire()
  1611. end
  1612. lastframe = tick()
  1613. end
  1614. if tossremainder then
  1615. tf = 0
  1616. else
  1617. tf = tf - frame * math.floor(tf / frame)
  1618. end
  1619. end
  1620. end)
  1621.  
  1622. function swait(num)
  1623. if num == 0 or num == nil then
  1624. ArtificialHB.Event:wait()
  1625. else
  1626. for i = 0, num do
  1627. ArtificialHB.Event:wait()
  1628. end
  1629. end
  1630. end
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637. while true do
  1638. swait()
  1639. Sine = Sine + Change
  1640.  
  1641. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4)), Char)
  1642.  
  1643. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1644. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed > 24 and "Run" or "Walk") or hitfloor and "Idle")
  1645. if(not Effects or not Effects.Parent)then
  1646. Effects = IN("Model",Char)
  1647. Effects.Name = "Effects"
  1648. end
  1649. if(State == 'Walk')then
  1650. local wsVal = 20 / (Hum.WalkSpeed/16)
  1651. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1652. Change = 3
  1653. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1654. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1655. else
  1656. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1657. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1658. end
  1659.  
  1660. Hum.WalkSpeed = WalkSpeed
  1661.  
  1662. if(NeutralAnims)then
  1663. if(State == 'Idle')then
  1664. local Alpha = .1
  1665. Change = .75
  1666. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0+.2*M.C(Sine/12),.2*M.C(Sine/6),0)*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  1667. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  1668. LS.C0 = LS.C0:lerp(LSC0*CF.N(.25,0,0)*CF.A(M.R(-45),0,M.R(45+5*M.C(Sine/12))),Alpha)
  1669. RS.C0 = RS.C0:lerp(RSC0*CF.N(-.25,0,0)*CF.A(M.R(-45),0,M.R(-45-5*M.C(Sine/12))),Alpha)
  1670. LH.C0 = LH.C0:lerp(LHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(10),0),Alpha)
  1671. RH.C0 = RH.C0:lerp(RHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(-10),0),Alpha)
  1672. -- idle
  1673. elseif(State == 'Run')then
  1674. local wsVal = 20 / (Hum.WalkSpeed/16)
  1675. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1676. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1677. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1678. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  1679. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  1680. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1681. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1682. elseif(State == 'Walk')then
  1683. local wsVal = 20 / (Hum.WalkSpeed/16)
  1684. local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
  1685. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1686. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1687. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1688. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1689. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1690. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1691. elseif(State == 'Jump')then
  1692. local Alpha = .1
  1693. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1694. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  1695. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  1696. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1697. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1698. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1699. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1700. elseif(State == 'Fall')then
  1701. local Alpha = .1
  1702. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1703. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1704. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1705. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1706. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1707. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1708. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1709. elseif(State == 'Paralyzed')then
  1710. -- paralyzed
  1711. elseif(State == 'Sit')then
  1712. -- sit
  1713. end
  1714. end
  1715. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement