Advertisement
HoneyBadger69

Untitled

Jun 17th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.38 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 pizzacruster")
  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. --V for antideath V--
  147. Player = owner
  148. PlayerGui = Player.PlayerGui
  149. Cam = workspace.CurrentCamera
  150. Backpack = Player.Backpack
  151. Character = Player.Character
  152. Humanoid = Character.Humanoid
  153. Mouse = Player:GetMouse()
  154. RootPart = Character["HumanoidRootPart"]
  155. Torso = Character["Torso"]
  156. Head = Character["Head"]
  157. RightArm = Character["Right Arm"]
  158. LeftArm = Character["Left Arm"]
  159. RightLeg = Character["Right Leg"]
  160. LeftLeg = Character["Left Leg"]
  161. RootJoint = RootPart["RootJoint"]
  162. Neck = Torso["Neck"]
  163. RightShoulder = Torso["Right Shoulder"]
  164. LeftShoulder = Torso["Left Shoulder"]
  165. RightHip = Torso["Right Hip"]
  166. LeftHip = Torso["Left Hip"]
  167. --End for antideath--
  168.  
  169. local plr = owner
  170. local char = plr.Character
  171. local hum = char.Humanoid
  172. local hed = char.Head
  173. local Character = plr.Character
  174. local Torso = Character.Torso
  175. local root = char.HumanoidRootPart
  176. local rootj = root.RootJoint
  177. local tors = char.Torso
  178. local ra = char["Right Arm"]
  179. local la = char["Left Arm"]
  180. local rl = char["Right Leg"]
  181. local ll = char["Left Leg"]
  182. local neck = tors["Neck"]
  183. local mouse = plr:GetMouse()
  184. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  185. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  186. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  187. local maincolor = BrickColor.new("Dark green")
  188. exploitable = true
  189. combo=1
  190. sin=0
  191. cha=1
  192. choice=1
  193. lal=1
  194. lal2=1
  195. haa=nil
  196. aaa=false
  197. unleashed=false
  198. local Player = game:GetService("Players").LocalPlayer
  199. local Character = Player.Character
  200. local Humanoid = Character.Humanoid
  201. local Mouse = Player:GetMouse()
  202. local LeftArm = Character["Left Arm"]
  203. local RightArm = Character["Right Arm"]
  204. local LeftLeg = Character["Left Leg"]
  205. local RightLeg = Character["Right Leg"]
  206. local Head = Character.Head
  207. local Torso = Character.Torso
  208. -------------------------------------------------------
  209. --Start Whitelist and Invincibility--
  210. -------------------------------------------------------
  211. ff = Instance.new("ForceField",char)
  212. ff.Visible = false
  213. hum.Name = "Base"
  214. hum.MaxHealth = 1.0E298
  215. hum.Health = 1.0E298
  216. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  217. if hum.Health > 0 and hum.Health < inf then
  218. hum.MaxHealth = inf
  219. hum.Health = inf
  220. end
  221. end)
  222. IT = Instance.new
  223. -------------------------------------------------------
  224. --End Whitelist and Invincibility--
  225. -------------------------------------------------------
  226.  
  227. -------------------------------------------------------
  228. --Start Good Stuff--
  229. -------------------------------------------------------
  230. cam = game.Workspace.CurrentCamera
  231. CF = CFrame.new
  232. VT = Vector3.new
  233. angles = CFrame.Angles
  234. attack = false
  235. Euler = CFrame.fromEulerAnglesXYZ
  236. Rad = math.rad
  237. IT = Instance.new
  238. BrickC = BrickColor.new
  239. Cos = math.cos
  240. Acos = math.acos
  241. Sin = math.sin
  242. Asin = math.asin
  243. Abs = math.abs
  244. Mrandom = math.random
  245. Floor = math.floor
  246. cf = CFrame.new
  247. -------------------------------------------------------
  248. --End Good Stuff--
  249. -------------------------------------------------------
  250. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  251. RSH, LSH = nil, nil
  252. RW = Instance.new("Weld")
  253. LW = Instance.new("Weld")
  254. RH = tors["Right Hip"]
  255. LH = tors["Left Hip"]
  256. RSH = tors["Right Shoulder"]
  257. LSH = tors["Left Shoulder"]
  258. RSH.Parent = nil
  259. LSH.Parent = nil
  260. RW.Name = "RW"
  261. RW.Part0 = tors
  262. RW.C0 = CF(1.5, 0.5, 0)
  263. RW.C1 = CF(0, 0.5, 0)
  264. RW.Part1 = ra
  265. RW.Parent = tors
  266. LW.Name = "LW"
  267. LW.Part0 = tors
  268. LW.C0 = CF(-1.5, 0.5, 0)
  269. LW.C1 = CF(0, 0.5, 0)
  270. LW.Part1 = la
  271. LW.Parent = tors
  272. Effects = {}
  273. -------------------------------------------------------
  274. --Start HeartBeat--
  275. -------------------------------------------------------
  276. Player_Size = 2
  277. ArtificialHB = Instance.new("BindableEvent", script)
  278. ArtificialHB.Name = "Heartbeat"
  279. script:WaitForChild("Heartbeat")
  280.  
  281. frame = 1 / 60
  282. tf = 0
  283. allowframeloss = false
  284. tossremainder = false
  285.  
  286.  
  287. lastframe = tick()
  288. script.Heartbeat:Fire()
  289.  
  290.  
  291. game:GetService("RunService").Heartbeat:connect(function(s, p)
  292. tf = tf + s
  293. if tf >= frame then
  294. if allowframeloss then
  295. script.Heartbeat:Fire()
  296. lastframe = tick()
  297. else
  298. for i = 1, math.floor(tf / frame) do
  299. script.Heartbeat:Fire()
  300. end
  301. lastframe = tick()
  302. end
  303. if tossremainder then
  304. tf = 0
  305. else
  306. tf = tf - frame * math.floor(tf / frame)
  307. end
  308. end
  309. end)
  310.  
  311. function Eviscerate(dude)
  312. if dude.Name ~= char then
  313. local bgf = IT("BodyGyro", dude.Head)
  314. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  315. local val = IT("BoolValue", dude)
  316. val.Name = "IsHit"
  317. local ds = coroutine.wrap(function()
  318. dude:WaitForChild("Head"):BreakJoints()
  319. wait(0.5)
  320. target = nil
  321. coroutine.resume(coroutine.create(function()
  322. for i, v in pairs(dude:GetChildren()) do
  323. if v:IsA("Accessory") then
  324. v:Destroy()
  325. end
  326. if v:IsA("Humanoid") then
  327. v:Destroy()
  328. end
  329. if v:IsA("CharacterMesh") then
  330. v:Destroy()
  331. end
  332. if v:IsA("Model") then
  333. v:Destroy()
  334. end
  335. if v:IsA("Part") or v:IsA("MeshPart") then
  336. for x, o in pairs(v:GetChildren()) do
  337. if o:IsA("Decal") then
  338. o:Destroy()
  339. end
  340. end
  341. coroutine.resume(coroutine.create(function()
  342. v.Material = "Neon"
  343. v.CanCollide = false
  344. local PartEmmit1 = IT("ParticleEmitter", v)
  345. PartEmmit1.LightEmission = 1
  346. PartEmmit1.Texture = "rbxassetid://284205403"
  347. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  348. PartEmmit1.Rate = 150
  349. PartEmmit1.Lifetime = NumberRange.new(1)
  350. PartEmmit1.Size = NumberSequence.new({
  351. NumberSequenceKeypoint.new(0, 0.75, 0),
  352. NumberSequenceKeypoint.new(1, 0, 0)
  353. })
  354. PartEmmit1.Transparency = NumberSequence.new({
  355. NumberSequenceKeypoint.new(0, 0, 0),
  356. NumberSequenceKeypoint.new(1, 1, 0)
  357. })
  358. PartEmmit1.Speed = NumberRange.new(0, 0)
  359. PartEmmit1.VelocitySpread = 30000
  360. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  361. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  362. local BodPoss = IT("BodyPosition", v)
  363. BodPoss.P = 3000
  364. BodPoss.D = 1000
  365. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  366. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  367. v.Color = maincolor.Color
  368. coroutine.resume(coroutine.create(function()
  369. for i = 0, 49 do
  370. swait(1)
  371. v.Transparency = v.Transparency + 0.08
  372. end
  373. wait(0.5)
  374. PartEmmit1.Enabled = false
  375. wait(3)
  376. v:Destroy()
  377. dude:Destroy()
  378. end))
  379. end))
  380. end
  381. end
  382. end))
  383. end)
  384. ds()
  385. end
  386. end
  387.  
  388. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  389. local type = type
  390. local rng = Instance.new("Part", char)
  391. rng.Anchored = true
  392. rng.BrickColor = color
  393. rng.CanCollide = false
  394. rng.FormFactor = 3
  395. rng.Name = "Ring"
  396. rng.Material = "Neon"
  397. rng.Size = Vector3.new(1, 1, 1)
  398. rng.Transparency = 0
  399. rng.TopSurface = 0
  400. rng.BottomSurface = 0
  401. rng.CFrame = pos
  402. local rngm = Instance.new("SpecialMesh", rng)
  403. rngm.MeshType = MType
  404. rngm.Scale = scale
  405. local scaler2 = 1
  406. if type == "Add" then
  407. scaler2 = 1 * value
  408. elseif type == "Divide" then
  409. scaler2 = 1 / value
  410. end
  411. coroutine.resume(coroutine.create(function()
  412. for i = 0, 10 / bonuspeed, 0.1 do
  413. swait()
  414. if type == "Add" then
  415. scaler2 = scaler2 - 0.01 * value / bonuspeed
  416. elseif type == "Divide" then
  417. scaler2 = scaler2 - 0.01 / value * bonuspeed
  418. end
  419. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  420. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  421. end
  422. rng:Destroy()
  423. end))
  424. end
  425.  
  426.  
  427. function FindNearestHead(Position, Distance, SinglePlayer)
  428. if SinglePlayer then
  429. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  430. end
  431. local List = {}
  432. for i, v in pairs(workspace:GetChildren()) do
  433. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  434. table.insert(List, v)
  435. end
  436. end
  437. return List
  438. end
  439.  
  440. function CameraEnshaking(Length, Intensity)
  441. coroutine.resume(coroutine.create(function()
  442. local intensity = 1 * Intensity
  443. local rotM = 0.01 * Intensity
  444. for i = 0, Length, 0.1 do
  445. swait()
  446. intensity = intensity - 0.05 * Intensity / Length
  447. rotM = rotM - 5.0E-4 * Intensity / Length
  448. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  449. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  450. end
  451. hum.CameraOffset = Vector3.new(0, 0, 0)
  452. end))
  453. end
  454.  
  455. function Cso(ID, PARENT, VOLUME, PITCH)
  456. local NSound = nil
  457. coroutine.resume(coroutine.create(function()
  458. NSound = IT("Sound", PARENT)
  459. NSound.Volume = VOLUME
  460. NSound.Pitch = PITCH
  461. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  462. swait()
  463. NSound:play()
  464. game:GetService("Debris"):AddItem(NSound, 10)
  465. end))
  466. return NSound
  467. end
  468.  
  469. function sun_is_a_deadly_laser()
  470. attack = true
  471. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  472. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  473. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  474. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  475. CameraEnshaking(4, 5)
  476. Cso("811841430", char, 10, 1)
  477. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  478. if v:FindFirstChild("Head") then
  479. Eviscerate(v)
  480. end
  481. end
  482. attack = false
  483. end
  484.  
  485. function ohshitimangry()
  486. attack = true
  487. angery = true
  488. MoreTaunts = true
  489. attack = false
  490. end
  491.  
  492. function swait(num)
  493. if num == 0 or num == nil then
  494. game:service("RunService").Stepped:wait(0)
  495. else
  496. for i = 0, num do
  497. game:service("RunService").Stepped:wait(0)
  498. end
  499. end
  500. end
  501.  
  502. local sine=0
  503. local change = 1
  504. local Player_Size = 1
  505. if Player_Size ~= 1 then
  506. root.Size = root.Size * Player_Size
  507. tors.Size = tors.Size * Player_Size
  508. hed.Size = hed.Size * Player_Size
  509. ra.Size = ra.Size * Player_Size
  510. la.Size = la.Size * Player_Size
  511. rl.Size = rl.Size * Player_Size
  512. ll.Size = ll.Size * Player_Size
  513. ----------------------------------------------------------------------------------
  514. rootj.Parent = root
  515. neck.Parent = tors
  516. RW.Parent = tors
  517. LW.Parent = tors
  518. RH.Parent = tors
  519. LH.Parent = tors
  520. ----------------------------------------------------------------------------------
  521. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  522. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  523. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  524. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  525. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  526. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  527. ----------------------------------------------------------------------------------
  528. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  529. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  530. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  531. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  532. --hat.Parent = Character
  533. end
  534. ----------------------------------------------------------------------------------
  535. local SONG = 2879008407
  536. local SONG2 = 2630939915
  537. local Music = Instance.new("Sound",tors)
  538. Music.Volume = 10
  539. Music.Looped = true
  540. Music.Pitch = 1 --Pitcher
  541. ----------------------------------------------------------------------------------
  542. local equipped = false
  543. local idle = 0
  544. local change = 1
  545. local val = 0
  546. local toim = 0
  547. local idleanim = 0.4
  548. local sine = 0
  549. ---------------------------------------------------------------
  550. function clerp(a, b, t)
  551. local qa = {
  552. QuaternionFromCFrame(a)
  553. }
  554. local qb = {
  555. QuaternionFromCFrame(b)
  556. }
  557. local ax, ay, az = a.x, a.y, a.z
  558. local bx, by, bz = b.x, b.y, b.z
  559. local _t = 1 - t
  560. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  561. end
  562.  
  563. function swait(num)
  564. if num == 0 or num == nil then
  565. game:service("RunService").Stepped:wait(0)
  566. else
  567. for i = 0, num do
  568. game:service("RunService").Stepped:wait(0)
  569. end
  570. end
  571. end
  572.  
  573. function QuaternionFromCFrame(cf)
  574. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  575. local trace = m00 + m11 + m22
  576. if trace > 0 then
  577. local s = math.sqrt(1 + trace)
  578. local recip = 0.5 / s
  579. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  580. else
  581. local i = 0
  582. if m00 < m11 then
  583. i = 1
  584. end
  585. if m22 > (i == 0 and m00 or m11) then
  586. i = 2
  587. end
  588. if i == 0 then
  589. local s = math.sqrt(m00 - m11 - m22 + 1)
  590. local recip = 0.5 / s
  591. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  592. elseif i == 1 then
  593. local s = math.sqrt(m11 - m22 - m00 + 1)
  594. local recip = 0.5 / s
  595. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  596. elseif i == 2 then
  597. local s = math.sqrt(m22 - m00 - m11 + 1)
  598. local recip = 0.5 / s
  599. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  600. end
  601. end
  602. end
  603. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  604. local xs, ys, zs = x + x, y + y, z + z
  605. local wx, wy, wz = w * xs, w * ys, w * zs
  606. local xx = x * xs
  607. local xy = x * ys
  608. local xz = x * zs
  609. local yy = y * ys
  610. local yz = y * zs
  611. local zz = z * zs
  612. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  613. end
  614.  
  615. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  616. local NEWPART = IT("Part")
  617. NEWPART.formFactor = FORMFACTOR
  618. NEWPART.Reflectance = REFLECTANCE
  619. NEWPART.Transparency = TRANSPARENCY
  620. NEWPART.CanCollide = false
  621. NEWPART.Locked = true
  622. NEWPART.Anchored = true
  623. if ANCHOR == false then
  624. NEWPART.Anchored = false
  625. end
  626. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  627. NEWPART.Name = NAME
  628. NEWPART.Size = SIZE
  629. NEWPART.Position = Torso.Position
  630. NEWPART.Material = MATERIAL
  631. NEWPART:BreakJoints()
  632. NEWPART.Parent = PARENT
  633. return NEWPART
  634. end
  635.  
  636. function MakeForm(PART,TYPE)
  637. if TYPE == "Cyl" then
  638. local MSH = IT("CylinderMesh",PART)
  639. elseif TYPE == "Ball" then
  640. local MSH = IT("SpecialMesh",PART)
  641. MSH.MeshType = "Sphere"
  642. elseif TYPE == "Wedge" then
  643. local MSH = IT("SpecialMesh",PART)
  644. MSH.MeshType = "Wedge"
  645. end
  646. end
  647.  
  648. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  649. local NEWWELD = IT(TYPE)
  650. NEWWELD.Part0 = PART0
  651. NEWWELD.Part1 = PART1
  652. NEWWELD.C0 = C0
  653. NEWWELD.C1 = C1
  654. NEWWELD.Parent = PARENT
  655. return NEWWELD
  656. end
  657.  
  658. local Drink = "onebearnakedwoman"
  659.  
  660. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  661.  
  662. ArtificialHB = Instance.new("BindableEvent", script)
  663. ArtificialHB.Name = "ArtificialHB"
  664.  
  665. script:WaitForChild("ArtificialHB")
  666.  
  667. frame = Frame_Speed
  668. tf = 0
  669. allowframeloss = false
  670. tossremainder = false
  671. lastframe = tick()
  672. script.ArtificialHB:Fire()
  673.  
  674. game:GetService("RunService").Heartbeat:connect(function(s, p)
  675. tf = tf + s
  676. if tf >= frame then
  677. if allowframeloss then
  678. script.ArtificialHB:Fire()
  679. lastframe = tick()
  680. else
  681. for i = 1, math.floor(tf / frame) do
  682. script.ArtificialHB:Fire()
  683. end
  684. lastframe = tick()
  685. end
  686. if tossremainder then
  687. tf = 0
  688. else
  689. tf = tf - frame * math.floor(tf / frame)
  690. end
  691. end
  692. end)
  693.  
  694.  
  695. function Swait(NUMBER)
  696. if NUMBER == 0 or NUMBER == nil then
  697. ArtificialHB.Event:wait()
  698. else
  699. for i = 1, NUMBER do
  700. ArtificialHB.Event:wait()
  701. end
  702. end
  703. end
  704. --------------------
  705. local RbxUtility = LoadLibrary("RbxUtility")
  706. local Create = RbxUtility.Create
  707. ----------------------------
  708. function QuaternionSlerp(a, b, t)
  709. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  710. local startInterp, finishInterp
  711. if cosTheta >= 1.0E-4 then
  712. if 1 - cosTheta > 1.0E-4 then
  713. local theta = math.acos(cosTheta)
  714. local invSinTheta = 1 / Sin(theta)
  715. startInterp = Sin((1 - t) * theta) * invSinTheta
  716. finishInterp = Sin(t * theta) * invSinTheta
  717. else
  718. startInterp = 1 - t
  719. finishInterp = t
  720. end
  721. elseif 1 + cosTheta > 1.0E-4 then
  722. local theta = math.acos(-cosTheta)
  723. local invSinTheta = 1 / Sin(theta)
  724. startInterp = Sin((t - 1) * theta) * invSinTheta
  725. finishInterp = Sin(t * theta) * invSinTheta
  726. else
  727. startInterp = t - 1
  728. finishInterp = t
  729. end
  730. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  731. end
  732. ---------------------------------------------------------------
  733. local naeeym2 = Instance.new("BillboardGui",char)
  734. naeeym2.AlwaysOnTop = true
  735. naeeym2.Size = UDim2.new(5,35,2,35)
  736. naeeym2.StudsOffset = Vector3.new(0,2,0)
  737. naeeym2.Adornee = hed
  738. naeeym2.Name = "Name"
  739.  
  740. local tecks2 = Instance.new("TextLabel",naeeym2)
  741. tecks2.BackgroundTransparency = 1
  742. tecks2.TextScaled = true
  743. tecks2.BorderSizePixel = 0
  744. tecks2.Text = ""
  745. tecks2.Font = "Antique"
  746. tecks2.TextSize = 200
  747. tecks2.TextStrokeTransparency = 0
  748. tecks2.TextColor3 = BrickColor.new('Grey').Color
  749. tecks2.TextStrokeColor3 = BrickColor.new('Grey').Color
  750. tecks2.Size = UDim2.new(1,0,0.5,0)
  751. tecks2.Parent = naeeym2
  752. textfag = tecks2
  753. tecks2.Text = "DarkPengeHUN"
  754.  
  755. coroutine.resume(coroutine.create(function()
  756. while textfag ~= nil do
  757. swait()
  758. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  759. textfag.Rotation = math.random(-3,3)
  760. end
  761. end))
  762. --------------------------------------------------
  763. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  764. local NEWWELD = IT(TYPE)
  765. NEWWELD.Part0 = PART0
  766. NEWWELD.Part1 = PART1
  767. NEWWELD.C0 = C0
  768. NEWWELD.C1 = C1
  769. NEWWELD.Parent = PARENT
  770. return NEWWELD
  771. end
  772.  
  773. function MakeForm(PART,TYPE)
  774. if TYPE == "Cyl" then
  775. local MSH = IT("CylinderMesh",PART)
  776. elseif TYPE == "Ball" then
  777. local MSH = IT("SpecialMesh",PART)
  778. MSH.MeshType = "Sphere"
  779. elseif TYPE == "Wedge" then
  780. local MSH = IT("SpecialMesh",PART)
  781. MSH.MeshType = "Wedge"
  782. end
  783. end
  784. --------------------------
  785. IT = Instance.new
  786. CF = CFrame.new
  787. VT = Vector3.new
  788. RAD = math.rad
  789. C3 = Color3.new
  790. UD2 = UDim2.new
  791. BRICKC = BrickColor.new
  792. ANGLES = CFrame.Angles
  793. EULER = CFrame.fromEulerAnglesXYZ
  794. COS = math.cos
  795. ACOS = math.acos
  796. SIN = math.sin
  797. ASIN = math.asin
  798. ABS = math.abs
  799. MRANDOM = math.random
  800. FLOOR = math.floor
  801. --------------------------------------------------------
  802. local BC = char["Body Colors"]
  803. BC.HeadColor = BrickColor.new("Institutional White")
  804. BC.LeftArmColor = BrickColor.new("Institutional White")
  805. BC.LeftLegColor = BrickColor.new("Institutional White")
  806. BC.RightArmColor = BrickColor.new("Institutional White")
  807. BC.RightLegColor = BrickColor.new("Institutional White")
  808. BC.TorsoColor = BrickColor.new("Institutional White")
  809. ---------------------------------------------------------------
  810. local Weapon = IT("Model")
  811. ------------------------------------
  812. local function weldBetween(a, b)
  813. local weldd = Instance.new("ManualWeld")
  814. weldd.Part0 = a
  815. weldd.Part1 = b
  816. weldd.C0 = CFrame.new()
  817. weldd.C1 = b.CFrame:inverse() * a.CFrame
  818. weldd.Parent = a
  819. return weldd
  820. end
  821. ---------------------
  822. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  823. local particle = nil
  824. coroutine.resume(coroutine.create(function(PART)
  825. particle = PE:Clone()
  826. Swait()
  827. particle.Rate = 999
  828. particle.Parent = art
  829. particle.Acceleration = accel
  830. if type == "Fire" then
  831. local EyeSizes={
  832. NumberSequenceKeypoint.new(0,size,size/2),
  833. NumberSequenceKeypoint.new(1,size/4,size/8)
  834. }
  835. particle.Size = NumberSequence.new(EyeSizes)
  836. elseif type == "Smoke" then
  837. local EyeSizes={
  838. NumberSequenceKeypoint.new(0,0.5,0),
  839. NumberSequenceKeypoint.new(1,5,0.5)
  840. }
  841. particle.Size = NumberSequence.new(EyeSizes)
  842. elseif type == "Solid" then
  843. local EyeSizes={
  844. NumberSequenceKeypoint.new(0,0.5,0),
  845. NumberSequenceKeypoint.new(1,0.5,0)
  846. }
  847. particle.Size = NumberSequence.new(EyeSizes)
  848. end
  849. particle.Lifetime=NumberRange.new(lifetime)
  850. particle.Drag = drag
  851. if locked == true then
  852. particle.LockedToPart = true
  853. end
  854. particle.Speed = NumberRange.new(speed,speed,speed)
  855. particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  856. particle.Enabled = isenabledbydefault
  857. particle.Color = Color3.new(1,0,0)
  858. end))
  859. return particle
  860. end
  861. -------------------------
  862. for i = 1, 15 do
  863. local FACE = CreatePart2(3, Character, "Neon", 0, 0+(i-1)/15.2, "Grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  864. FACE.Color = C3(0,0,0)
  865. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  866. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  867. end
  868.  
  869. --------------------------------------------
  870. BTAUNT = Instance.new("Sound", tors)
  871. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=336298123"
  872. BTAUNT.Volume = 10
  873. BTAUNT.Pitch = 1
  874. BTAUNT.Looped = false
  875. BTAUNT.TimePosition = 0.2
  876. -------------------------------------------
  877. Instance["ParticleEmitter"] = {
  878. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  879. local fp = Create("ParticleEmitter"){
  880. Parent = Parent,
  881. Color = ColorSequence.new(Color1, Color2),
  882. LightEmission = LightEmission,
  883. Size = Size,
  884. Texture = Texture,
  885. Transparency = Transparency,
  886. ZOffset = ZOffset,
  887. Acceleration = Accel,
  888. Drag = Drag,
  889. LockedToPart = LockedToPart,
  890. VelocityInheritance = VelocityInheritance,
  891. EmissionDirection = EmissionDirection,
  892. Enabled = Enabled,
  893. Lifetime = LifeTime,
  894. Rate = Rate,
  895. Rotation = Rotation,
  896. RotSpeed = RotSpeed,
  897. Speed = Speed,
  898. VelocitySpread = VelocitySpread,
  899. }
  900. return fp
  901. end;
  902. };
  903.  
  904. CreateTemplate = {
  905.  
  906. };
  907.  
  908.  
  909. wait(1)
  910. ------------------------------------------------------------------------------------
  911. local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
  912.  
  913.  
  914. -------------------------------------------------------------------------------------
  915. -------------------------------------------------------------------------------------
  916.  
  917. local Color = 39, 70, 45
  918.  
  919. local Num = 0.5
  920.  
  921. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  922. local Size = 0.8
  923. local Rate = 300
  924. -------------------------------------------------------------------------------------
  925. local Player = game:GetService("Players").LocalPlayer
  926. local Character = Player.Character
  927. Torso = Character:WaitForChild'Torso'
  928.  
  929. local Wing1 = Instance.new("Part",Character)
  930. Wing1.FormFactor = Enum.FormFactor.Custom
  931. Wing1.Size = Vector3.new(.2, .2, .2)
  932. Wing1.Name = "WIng_1"
  933.  
  934. local fire = Instance.new("ParticleEmitter", Wing1)
  935. fire.VelocitySpread = 0
  936. fire.Lifetime = NumberRange.new(2)
  937. fire.Acceleration = Vector3.new(0, 2, 2)
  938. fire.RotSpeed = NumberRange.new(10)
  939. fire.Rate = Rate
  940. fire.Rotation = NumberRange.new(151515)
  941. fire.Name = "Fire"
  942. fire.LightEmission = 0.78
  943. fire.LockedToPart = true
  944. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  945. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  946. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  947.  
  948. local Wing2 = Wing1:Clone()
  949. Wing2.Parent = Torso
  950. local x,y,z = 0,-1,-6
  951.  
  952. Wld = function(a,b,cf)
  953. local Weld = Instance.new('Weld',a)
  954. Weld.Part0 = a
  955. Weld.Part1 = b
  956. Weld.C1 = cf
  957. return Weld
  958. end
  959.  
  960. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  961. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  962.  
  963.  
  964. game:GetService("RunService").Stepped:connect(function()
  965. --z = 6+math.sin(tick()*2)
  966. y = -1+math.sin(tick()*Num)*Num2
  967. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  968. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  969. end)
  970. ------------------------------------------------------------------------------------------------
  971. local Player = game:GetService("Players").LocalPlayer
  972. local Character = Player.Character
  973. Torso = Character:WaitForChild'Torso'
  974.  
  975. local Wing1 = Instance.new("Part",Character)
  976. Wing1.FormFactor = Enum.FormFactor.Custom
  977. Wing1.Size = Vector3.new(.2, .2, .2)
  978. Wing1.Name = "WIng_1"
  979.  
  980. local fire = Instance.new("ParticleEmitter", Wing1)
  981. fire.VelocitySpread = 0
  982. fire.Lifetime = NumberRange.new(2.5)
  983. fire.Acceleration = Vector3.new(0, 4, 4)
  984. fire.RotSpeed = NumberRange.new(10)
  985. fire.Rate = Rate
  986. fire.Rotation = NumberRange.new(151515)
  987. fire.Name = "Fire"
  988. fire.LightEmission = 0.78
  989. fire.LockedToPart = true
  990. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  991. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  992. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  993.  
  994. local Wing2 = Wing1:Clone()
  995. Wing2.Parent = Torso
  996. local x,y,z = 0,-1,-6
  997.  
  998. Wld = function(a,b,cf)
  999. local Weld = Instance.new('Weld',a)
  1000. Weld.Part0 = a
  1001. Weld.Part1 = b
  1002. Weld.C1 = cf
  1003. return Weld
  1004. end
  1005.  
  1006. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  1007. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  1008.  
  1009. print("Loaded")
  1010.  
  1011. game:GetService("RunService").Stepped:connect(function()
  1012. --z = 6+math.sin(tick()*2)
  1013. y = -1+math.sin(tick()*Num)*Num2
  1014. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1015. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1016. end)
  1017.  
  1018. ------------------------------------------------------------------------------------------------
  1019. local Player = game:GetService("Players").LocalPlayer
  1020. local Character = Player.Character
  1021. Torso = Character:WaitForChild'Torso'
  1022.  
  1023. local Wing1 = Instance.new("Part",Character)
  1024. Wing1.FormFactor = Enum.FormFactor.Custom
  1025. Wing1.Size = Vector3.new(.2, .2, .2)
  1026. Wing1.Name = "WIng_1"
  1027.  
  1028. local fire = Instance.new("ParticleEmitter", Wing1)
  1029. fire.VelocitySpread = 0
  1030. fire.Lifetime = NumberRange.new(2.8)
  1031. fire.Acceleration = Vector3.new(0, 4, 4)
  1032. fire.RotSpeed = NumberRange.new(10)
  1033. fire.Rate = Rate
  1034. fire.Rotation = NumberRange.new(151515)
  1035. fire.Name = "Fire"
  1036. fire.LightEmission = 0.78
  1037. fire.LockedToPart = true
  1038. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1039. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  1040. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1041.  
  1042. local Wing2 = Wing1:Clone()
  1043. Wing2.Parent = Torso
  1044. local x,y,z = 0,-1,-6
  1045.  
  1046. Wld = function(a,b,cf)
  1047. local Weld = Instance.new('Weld',a)
  1048. Weld.Part0 = a
  1049. Weld.Part1 = b
  1050. Weld.C1 = cf
  1051. return Weld
  1052. end
  1053.  
  1054. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  1055. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  1056.  
  1057. print("Loaded")
  1058.  
  1059. game:GetService("RunService").Stepped:connect(function()
  1060. --z = 6+math.sin(tick()*2)
  1061. y = -1+math.sin(tick()*Num)*Num2
  1062. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1063. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1064. end)
  1065.  
  1066. ------------------------------------------------------------------------------------------------
  1067. local Player = game:GetService("Players").LocalPlayer
  1068. local Character = Player.Character
  1069. Torso = Character:WaitForChild'Torso'
  1070.  
  1071. local Wing1 = Instance.new("Part",Character)
  1072. Wing1.FormFactor = Enum.FormFactor.Custom
  1073. Wing1.Size = Vector3.new(.2, .2, .2)
  1074. Wing1.Name = "WIng_1"
  1075.  
  1076. local fire = Instance.new("ParticleEmitter", Wing1)
  1077. fire.VelocitySpread = 0
  1078. fire.Lifetime = NumberRange.new(3)
  1079. fire.Acceleration = Vector3.new(0, 4, 4)
  1080. fire.RotSpeed = NumberRange.new(10)
  1081. fire.Rate = Rate
  1082. fire.Rotation = NumberRange.new(151515)
  1083. fire.Name = "Fire"
  1084. fire.LightEmission = 0.78
  1085. fire.LockedToPart = true
  1086. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1087. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  1088. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1089.  
  1090. local Wing2 = Wing1:Clone()
  1091. Wing2.Parent = Torso
  1092. local x,y,z = 0,-1,-6
  1093.  
  1094. Wld = function(a,b,cf)
  1095. local Weld = Instance.new('Weld',a)
  1096. Weld.Part0 = a
  1097. Weld.Part1 = b
  1098. Weld.C1 = cf
  1099. return Weld
  1100. end
  1101.  
  1102. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  1103. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  1104.  
  1105. print("Loaded")
  1106.  
  1107. game:GetService("RunService").Stepped:connect(function()
  1108. --z = 6+math.sin(tick()*2)
  1109. y = -1+math.sin(tick()*Num)*Num2
  1110. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1111. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1112. end)
  1113.  
  1114. ------------------------------------------------------------------------------------------------
  1115. local Player = game:GetService("Players").LocalPlayer
  1116. local Character = Player.Character
  1117. Torso = Character:WaitForChild'Torso'
  1118.  
  1119. local Wing1 = Instance.new("Part",Character)
  1120. Wing1.FormFactor = Enum.FormFactor.Custom
  1121. Wing1.Size = Vector3.new(.2, .2, .2)
  1122. Wing1.Name = "WIng_1"
  1123.  
  1124. local fire = Instance.new("ParticleEmitter", Wing1)
  1125. fire.VelocitySpread = 0
  1126. fire.Lifetime = NumberRange.new(3.1)
  1127. fire.Acceleration = Vector3.new(0, 4, 4)
  1128. fire.RotSpeed = NumberRange.new(10)
  1129. fire.Rate = Rate
  1130. fire.Rotation = NumberRange.new(151515)
  1131. fire.Name = "Fire"
  1132. fire.LightEmission = 0.78
  1133. fire.LockedToPart = true
  1134. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1135. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  1136. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1137.  
  1138. local Wing2 = Wing1:Clone()
  1139. Wing2.Parent = Torso
  1140. local x,y,z = 0,-1,-6
  1141.  
  1142. Wld = function(a,b,cf)
  1143. local Weld = Instance.new('Weld',a)
  1144. Weld.Part0 = a
  1145. Weld.Part1 = b
  1146. Weld.C1 = cf
  1147. return Weld
  1148. end
  1149.  
  1150. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  1151. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  1152.  
  1153. print("Loaded")
  1154.  
  1155. game:GetService("RunService").Stepped:connect(function()
  1156. --z = 6+math.sin(tick()*2)
  1157. y = -1+math.sin(tick()*Num)*Num2
  1158. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1159. Wing2.Fire.Acceleration = Vector3.new(x,y,z)
  1160. end)
  1161. -----------------------------------
  1162. Animation_Speed = 3
  1163. -----------------------------------
  1164. function Taunt()
  1165. attack = true
  1166. hum.WalkSpeed = 0
  1167. BTAUNT:Play()
  1168. repeat
  1169. swait()
  1170. BTAUNT.Parent = tors
  1171. rootj.C0 = clerp(rootj.C0,RootCF * CF(0, 0, -0.03 + 0.05 * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(-35)), 0.1)
  1172. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 12)), Rad(0), Rad(35)), 0.1)
  1173. RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  1174. LW.C0 = clerp(LW.C0, CF(-1.3, 0.5 + 0.05 * Sin(sine / 12), -0.3) * angles(Rad(90), Rad(0), Rad(-35)), 0.1)
  1175. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.05 * Cos(sine / 12), 0) * angles(Rad(0), Rad(95), Rad(0)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  1176. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * Cos(sine / 12), 0) * angles(Rad(0), Rad(-55), Rad(0)) * angles(Rad(-12), Rad(0), Rad(0)), 0.1)
  1177. until BTAUNT.Playing == false
  1178. attack = false
  1179. hum.WalkSpeed = 50
  1180. end
  1181. function welp()
  1182. attack = true
  1183. SONG = 145616154
  1184. attack = false
  1185. end
  1186. function welp2()
  1187. attack = true
  1188. SONG = 131395300
  1189. attack = false
  1190. end
  1191. function welp3()
  1192. attack = true
  1193. SONG = 2567685582
  1194. attack = false
  1195. end
  1196. -------------------------------------------
  1197. MoreTaunts = false
  1198.  
  1199. mouse.Button1Down:connect(function(key)
  1200. if attack == false then
  1201. sun_is_a_deadly_laser()
  1202. end
  1203. end)
  1204. mouse.KeyDown:connect(function(key)
  1205. if attack == false then
  1206. if key == "t" then
  1207. Taunt()
  1208. elseif key == "z" then
  1209. welp()
  1210. elseif key == "x" then
  1211. welp2()
  1212. elseif key == "c" then
  1213. welp3()
  1214. end
  1215. end
  1216. end)
  1217.  
  1218.  
  1219. function rayCast(Position, Direction, Range, Ignore)
  1220. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1221. end
  1222.  
  1223. local GodMode = {}
  1224.  
  1225. for _, c in pairs(Character:GetDescendants()) do
  1226. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1227. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1228. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1229. end
  1230. table.insert(GodMode,{c,c.Parent,c.Material,c.Transparency})
  1231. elseif c:IsA("JointInstance") then
  1232. table.insert(GodMode,{c,c.Parent,nil,nil,nil})
  1233. end
  1234. end
  1235.  
  1236. for e = 1, #GodMode do
  1237. if GodMode[e] ~= nil then
  1238. local STUFF = GodMode[e]
  1239. local PART = STUFF[1]
  1240. local PARENT = STUFF[2]
  1241. local MATERIAL = STUFF[3]
  1242. local COLOR = STUFF[4]
  1243. local TRANSPARENCY = STUFF[5]
  1244. if PART.ClassName == "Part" and PART ~= RootPart then
  1245. PART.Material = MATERIAL
  1246.  
  1247. PART.Transparency = TRANSPARENCY
  1248. end
  1249. PART.AncestryChanged:Connect(function()
  1250. PART.Parent = PARENT
  1251. end)
  1252. end
  1253. end
  1254.  
  1255. function RestoreAllBodyParts()
  1256. Character.Parent = workspace
  1257. for e = 1, #GodMode do
  1258. if GodMode[e] ~= nil then
  1259. local STUFF = GodMode[e]
  1260. local PART = STUFF[1]
  1261. local PARENT = STUFF[2]
  1262. local MATERIAL = STUFF[3]
  1263. local TRANSPARENCY = STUFF[5]
  1264. if PART.ClassName == "Part" and PART ~= RootPart then
  1265. PART.Material = MATERIAL
  1266. --- Restore()
  1267. --- Also Regen All Effects
  1268. --- Get full script Regen
  1269. --- Procceed with Restore function
  1270. PART.Transparency = TRANSPARENCY
  1271. end
  1272. if PART.Parent ~= PARENT then
  1273. Humanoid:remove()
  1274. Humanoid:restore()
  1275. PART.Parent = PARENT
  1276. PART.Parent:restore()
  1277. Humanoid = IT("Humanoid",Character)
  1278. end
  1279. end
  1280. end
  1281. end
  1282.  
  1283.  
  1284. function AntiDeath()
  1285. Character.Parent = workspace
  1286. for e = 1, #GodMode do
  1287. if GodMode[e] ~= nil then
  1288. local STUFF = GodMode[e]
  1289. local PART = STUFF[1]
  1290. local PARENT = STUFF[2]
  1291. local MATERIAL = STUFF[3]
  1292. local COLOR = STUFF[4]
  1293. local TRANSPARENCY = STUFF[5]
  1294. if PART.ClassName == "Part" and PART ~= RootPart then
  1295. PART.Material = MATERIAL
  1296.  
  1297. PART.Transparency = TRANSPARENCY
  1298. end
  1299. if PART.Parent ~= PARENT then
  1300. Humanoid:remove()
  1301. PART.Parent = PARENT
  1302. Humanoid = IT("Humanoid",Character)
  1303. end
  1304. end
  1305. end
  1306. end
  1307.  
  1308.  
  1309. Humanoid.Died:connect(function()
  1310. AntiDeath()
  1311. RestoreAllBodyParts()
  1312. Humanoid.MaxHealth = inf
  1313. Humanoid.Health = inf
  1314. end)
  1315.  
  1316. -------------------------------------------------------
  1317. --Start Animations--
  1318. -------------------------------------------------------
  1319. local equipped = false
  1320. local idle = 0
  1321. local change = 1
  1322. local val = 0
  1323. local toim = 0
  1324. local idleanim = 0.4
  1325. hum.Animator.Parent = nil
  1326. while true do
  1327. swait()
  1328. AntiDeath()
  1329. RestoreAllBodyParts()
  1330. sine = sine + change
  1331. Music.Parent = char
  1332. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1333. local velderp = root.Velocity.y
  1334. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1335. if equipped == true or equipped == false then
  1336. if attack == false then
  1337. idle = idle + 1
  1338. else
  1339. idle = 0
  1340. end
  1341. if 1 < root.Velocity.y and hitfloor == nil then
  1342. Anim = "Jump"
  1343. if attack == false then
  1344. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1345. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1346. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1347. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1348. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1349. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1350. end
  1351. elseif -1 > root.Velocity.y and hitfloor == nil then
  1352. Anim = "Fall"
  1353. if attack == false then
  1354. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1355. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1356. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1357. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1358. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1359. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1360. end
  1361. elseif torvel < 1 and hitfloor ~= nil then
  1362. Anim = "Idle"
  1363. change = 1
  1364. if attack == false then
  1365. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  1366. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  1367. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  1368. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  1369. RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  1370. LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1371. end
  1372. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1373. Anim = "Walk"
  1374. change = 1
  1375. if attack == false then
  1376. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1377. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  1378. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1379. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1380. RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  1381. LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1382. end
  1383. end
  1384. end
  1385. Music.SoundId = "rbxassetid://"..SONG
  1386. Music.Looped = true
  1387. Music.Pitch = 1
  1388. Music.Volume = 3
  1389. Music.Parent = tors
  1390. Music:Resume()
  1391. if 0 < #Effects then
  1392. for e = 1, #Effects do
  1393. if Effects[e] ~= nil then
  1394. local Thing = Effects[e]
  1395. if Thing ~= nil then
  1396. local Part = Thing[1]
  1397. local Mode = Thing[2]
  1398. local Delay = Thing[3]
  1399. local IncX = Thing[4]
  1400. local IncY = Thing[5]
  1401. local IncZ = Thing[6]
  1402. if 1 >= Thing[1].Transparency then
  1403. if Thing[2] == "Block1" then
  1404. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1405. local Mesh = Thing[1].Mesh
  1406. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1407. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1408. elseif Thing[2] == "Block2" then
  1409. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1410. local Mesh = Thing[7]
  1411. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1412. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1413. elseif Thing[2] == "Block3" then
  1414. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1415. local Mesh = Thing[7]
  1416. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1417. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1418. elseif Thing[2] == "Cylinder" then
  1419. local Mesh = Thing[1].Mesh
  1420. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1421. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1422. elseif Thing[2] == "Blood" then
  1423. local Mesh = Thing[7]
  1424. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1425. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1426. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1427. elseif Thing[2] == "Elec" then
  1428. local Mesh = Thing[1].Mesh
  1429. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1430. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1431. elseif Thing[2] == "Disappear" then
  1432. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1433. elseif Thing[2] == "Shatter" then
  1434. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1435. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1436. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1437. Thing[6] = Thing[6] + Thing[5]
  1438. end
  1439. else
  1440. Part.Parent = nil
  1441. table.remove(Effects, e)
  1442. end
  1443. end
  1444. end
  1445. end
  1446. end
  1447. AntiDeath()
  1448. RestoreAllBodyParts()
  1449. end
  1450. -------------------------------------------------------
  1451. --End Animations And Script--
  1452. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement