Advertisement
DarkSideYT123

Untitled

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