Advertisement
HoneyBadger69

Untitled

Jun 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.74 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. shirt = Instance.new("Shirt", char)
  803. shirt.Name = "Shirt"
  804. pants = Instance.new("Pants", char)
  805. pants.Name = "Pants"
  806. char.Shirt.ShirtTemplate = "https://www.roblox.com/catalog/2182638579/Gearpunk"
  807. char.Pants.PantsTemplate = "https://www.roblox.com/catalog/1202653685/Gearpunk-Bucket-Gearpunk-Bucket-Gearpunk-Bucket"
  808. local BC = char["Body Colors"]
  809. BC.HeadColor = BrickColor.new("Institutional White")
  810. BC.LeftArmColor = BrickColor.new("Institutional White")
  811. BC.LeftLegColor = BrickColor.new("Institutional White")
  812. BC.RightArmColor = BrickColor.new("Institutional White")
  813. BC.RightLegColor = BrickColor.new("Institutional White")
  814. BC.TorsoColor = BrickColor.new("Institutional White")
  815. ---------------------------------------------------------------
  816. local Weapon = IT("Model")
  817. ------------------------------------
  818. local function weldBetween(a, b)
  819. local weldd = Instance.new("ManualWeld")
  820. weldd.Part0 = a
  821. weldd.Part1 = b
  822. weldd.C0 = CFrame.new()
  823. weldd.C1 = b.CFrame:inverse() * a.CFrame
  824. weldd.Parent = a
  825. return weldd
  826. end
  827. ---------------------
  828. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  829. local particle = nil
  830. coroutine.resume(coroutine.create(function(PART)
  831. particle = PE:Clone()
  832. Swait()
  833. particle.Rate = 999
  834. particle.Parent = art
  835. particle.Acceleration = accel
  836. if type == "Fire" then
  837. local EyeSizes={
  838. NumberSequenceKeypoint.new(0,size,size/2),
  839. NumberSequenceKeypoint.new(1,size/4,size/8)
  840. }
  841. particle.Size = NumberSequence.new(EyeSizes)
  842. elseif type == "Smoke" then
  843. local EyeSizes={
  844. NumberSequenceKeypoint.new(0,0.5,0),
  845. NumberSequenceKeypoint.new(1,5,0.5)
  846. }
  847. particle.Size = NumberSequence.new(EyeSizes)
  848. elseif type == "Solid" then
  849. local EyeSizes={
  850. NumberSequenceKeypoint.new(0,0.5,0),
  851. NumberSequenceKeypoint.new(1,0.5,0)
  852. }
  853. particle.Size = NumberSequence.new(EyeSizes)
  854. end
  855. particle.Lifetime=NumberRange.new(lifetime)
  856. particle.Drag = drag
  857. if locked == true then
  858. particle.LockedToPart = true
  859. end
  860. particle.Speed = NumberRange.new(speed,speed,speed)
  861. particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  862. particle.Enabled = isenabledbydefault
  863. particle.Color = Color3.new(1,0,0)
  864. end))
  865. return particle
  866. end
  867. -------------------------
  868. for i = 1, 15 do
  869. local FACE = CreatePart2(3, Character, "Neon", 0, 0+(i-1)/15.2, "Grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  870. FACE.Color = C3(0,0,0)
  871. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  872. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  873. end
  874.  
  875. --------------------------------------------
  876. BTAUNT = Instance.new("Sound", tors)
  877. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=336298123"
  878. BTAUNT.Volume = 10
  879. BTAUNT.Pitch = 1
  880. BTAUNT.Looped = false
  881. BTAUNT.TimePosition = 0.2
  882. -------------------------------------------
  883. Instance["ParticleEmitter"] = {
  884. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  885. local fp = Create("ParticleEmitter"){
  886. Parent = Parent,
  887. Color = ColorSequence.new(Color1, Color2),
  888. LightEmission = LightEmission,
  889. Size = Size,
  890. Texture = Texture,
  891. Transparency = Transparency,
  892. ZOffset = ZOffset,
  893. Acceleration = Accel,
  894. Drag = Drag,
  895. LockedToPart = LockedToPart,
  896. VelocityInheritance = VelocityInheritance,
  897. EmissionDirection = EmissionDirection,
  898. Enabled = Enabled,
  899. Lifetime = LifeTime,
  900. Rate = Rate,
  901. Rotation = Rotation,
  902. RotSpeed = RotSpeed,
  903. Speed = Speed,
  904. VelocitySpread = VelocitySpread,
  905. }
  906. return fp
  907. end;
  908. };
  909.  
  910. CreateTemplate = {
  911.  
  912. };
  913.  
  914.  
  915. wait(1)
  916. ------------------------------------------------------------------------------------
  917. local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
  918.  
  919.  
  920. -------------------------------------------------------------------------------------
  921. -------------------------------------------------------------------------------------
  922.  
  923. local Color = 39, 70, 45
  924.  
  925. local Num = 0.5
  926.  
  927. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  928. local Size = 0.8
  929. local Rate = 300
  930. -------------------------------------------------------------------------------------
  931. local Player = game:GetService("Players").LocalPlayer
  932. local Character = Player.Character
  933. Torso = Character:WaitForChild'Torso'
  934.  
  935. local Wing1 = Instance.new("Part",Character)
  936. Wing1.FormFactor = Enum.FormFactor.Custom
  937. Wing1.Size = Vector3.new(.2, .2, .2)
  938. Wing1.Name = "WIng_1"
  939.  
  940. local fire = Instance.new("ParticleEmitter", Wing1)
  941. fire.VelocitySpread = 0
  942. fire.Lifetime = NumberRange.new(2)
  943. fire.Acceleration = Vector3.new(0, 2, 2)
  944. fire.RotSpeed = NumberRange.new(10)
  945. fire.Rate = Rate
  946. fire.Rotation = NumberRange.new(151515)
  947. fire.Name = "Fire"
  948. fire.LightEmission = 0.78
  949. fire.LockedToPart = true
  950. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  951. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  952. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  953.  
  954. local Wing2 = Wing1:Clone()
  955. Wing2.Parent = Torso
  956. local x,y,z = 0,-1,-6
  957.  
  958. Wld = function(a,b,cf)
  959. local Weld = Instance.new('Weld',a)
  960. Weld.Part0 = a
  961. Weld.Part1 = b
  962. Weld.C1 = cf
  963. return Weld
  964. end
  965.  
  966. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  967. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  968.  
  969.  
  970. game:GetService("RunService").Stepped:connect(function()
  971. --z = 6+math.sin(tick()*2)
  972. y = -1+math.sin(tick()*Num)*Num2
  973. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  974. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  975. end)
  976. ------------------------------------------------------------------------------------------------
  977. local Player = game:GetService("Players").LocalPlayer
  978. local Character = Player.Character
  979. Torso = Character:WaitForChild'Torso'
  980.  
  981. local Wing1 = Instance.new("Part",Character)
  982. Wing1.FormFactor = Enum.FormFactor.Custom
  983. Wing1.Size = Vector3.new(.2, .2, .2)
  984. Wing1.Name = "WIng_1"
  985.  
  986. local fire = Instance.new("ParticleEmitter", Wing1)
  987. fire.VelocitySpread = 0
  988. fire.Lifetime = NumberRange.new(2.5)
  989. fire.Acceleration = Vector3.new(0, 4, 4)
  990. fire.RotSpeed = NumberRange.new(10)
  991. fire.Rate = Rate
  992. fire.Rotation = NumberRange.new(151515)
  993. fire.Name = "Fire"
  994. fire.LightEmission = 0.78
  995. fire.LockedToPart = true
  996. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  997. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  998. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  999.  
  1000. local Wing2 = Wing1:Clone()
  1001. Wing2.Parent = Torso
  1002. local x,y,z = 0,-1,-6
  1003.  
  1004. Wld = function(a,b,cf)
  1005. local Weld = Instance.new('Weld',a)
  1006. Weld.Part0 = a
  1007. Weld.Part1 = b
  1008. Weld.C1 = cf
  1009. return Weld
  1010. end
  1011.  
  1012. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  1013. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  1014.  
  1015. print("Loaded")
  1016.  
  1017. game:GetService("RunService").Stepped:connect(function()
  1018. --z = 6+math.sin(tick()*2)
  1019. y = -1+math.sin(tick()*Num)*Num2
  1020. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1021. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1022. end)
  1023.  
  1024. ------------------------------------------------------------------------------------------------
  1025. local Player = game:GetService("Players").LocalPlayer
  1026. local Character = Player.Character
  1027. Torso = Character:WaitForChild'Torso'
  1028.  
  1029. local Wing1 = Instance.new("Part",Character)
  1030. Wing1.FormFactor = Enum.FormFactor.Custom
  1031. Wing1.Size = Vector3.new(.2, .2, .2)
  1032. Wing1.Name = "WIng_1"
  1033.  
  1034. local fire = Instance.new("ParticleEmitter", Wing1)
  1035. fire.VelocitySpread = 0
  1036. fire.Lifetime = NumberRange.new(2.8)
  1037. fire.Acceleration = Vector3.new(0, 4, 4)
  1038. fire.RotSpeed = NumberRange.new(10)
  1039. fire.Rate = Rate
  1040. fire.Rotation = NumberRange.new(151515)
  1041. fire.Name = "Fire"
  1042. fire.LightEmission = 0.78
  1043. fire.LockedToPart = true
  1044. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1045. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  1046. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1047.  
  1048. local Wing2 = Wing1:Clone()
  1049. Wing2.Parent = Torso
  1050. local x,y,z = 0,-1,-6
  1051.  
  1052. Wld = function(a,b,cf)
  1053. local Weld = Instance.new('Weld',a)
  1054. Weld.Part0 = a
  1055. Weld.Part1 = b
  1056. Weld.C1 = cf
  1057. return Weld
  1058. end
  1059.  
  1060. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  1061. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  1062.  
  1063. print("Loaded")
  1064.  
  1065. game:GetService("RunService").Stepped:connect(function()
  1066. --z = 6+math.sin(tick()*2)
  1067. y = -1+math.sin(tick()*Num)*Num2
  1068. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1069. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1070. end)
  1071.  
  1072. ------------------------------------------------------------------------------------------------
  1073. local Player = game:GetService("Players").LocalPlayer
  1074. local Character = Player.Character
  1075. Torso = Character:WaitForChild'Torso'
  1076.  
  1077. local Wing1 = Instance.new("Part",Character)
  1078. Wing1.FormFactor = Enum.FormFactor.Custom
  1079. Wing1.Size = Vector3.new(.2, .2, .2)
  1080. Wing1.Name = "WIng_1"
  1081.  
  1082. local fire = Instance.new("ParticleEmitter", Wing1)
  1083. fire.VelocitySpread = 0
  1084. fire.Lifetime = NumberRange.new(3)
  1085. fire.Acceleration = Vector3.new(0, 4, 4)
  1086. fire.RotSpeed = NumberRange.new(10)
  1087. fire.Rate = Rate
  1088. fire.Rotation = NumberRange.new(151515)
  1089. fire.Name = "Fire"
  1090. fire.LightEmission = 0.78
  1091. fire.LockedToPart = true
  1092. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1093. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  1094. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1095.  
  1096. local Wing2 = Wing1:Clone()
  1097. Wing2.Parent = Torso
  1098. local x,y,z = 0,-1,-6
  1099.  
  1100. Wld = function(a,b,cf)
  1101. local Weld = Instance.new('Weld',a)
  1102. Weld.Part0 = a
  1103. Weld.Part1 = b
  1104. Weld.C1 = cf
  1105. return Weld
  1106. end
  1107.  
  1108. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  1109. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  1110.  
  1111. print("Loaded")
  1112.  
  1113. game:GetService("RunService").Stepped:connect(function()
  1114. --z = 6+math.sin(tick()*2)
  1115. y = -1+math.sin(tick()*Num)*Num2
  1116. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1117. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1118. end)
  1119.  
  1120. ------------------------------------------------------------------------------------------------
  1121. local Player = game:GetService("Players").LocalPlayer
  1122. local Character = Player.Character
  1123. Torso = Character:WaitForChild'Torso'
  1124.  
  1125. local Wing1 = Instance.new("Part",Character)
  1126. Wing1.FormFactor = Enum.FormFactor.Custom
  1127. Wing1.Size = Vector3.new(.2, .2, .2)
  1128. Wing1.Name = "WIng_1"
  1129.  
  1130. local fire = Instance.new("ParticleEmitter", Wing1)
  1131. fire.VelocitySpread = 0
  1132. fire.Lifetime = NumberRange.new(3.1)
  1133. fire.Acceleration = Vector3.new(0, 4, 4)
  1134. fire.RotSpeed = NumberRange.new(10)
  1135. fire.Rate = Rate
  1136. fire.Rotation = NumberRange.new(151515)
  1137. fire.Name = "Fire"
  1138. fire.LightEmission = 0.78
  1139. fire.LockedToPart = true
  1140. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1141. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  1142. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1143.  
  1144. local Wing2 = Wing1:Clone()
  1145. Wing2.Parent = Torso
  1146. local x,y,z = 0,-1,-6
  1147.  
  1148. Wld = function(a,b,cf)
  1149. local Weld = Instance.new('Weld',a)
  1150. Weld.Part0 = a
  1151. Weld.Part1 = b
  1152. Weld.C1 = cf
  1153. return Weld
  1154. end
  1155.  
  1156. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  1157. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  1158.  
  1159. print("Loaded")
  1160.  
  1161. game:GetService("RunService").Stepped:connect(function()
  1162. --z = 6+math.sin(tick()*2)
  1163. y = -1+math.sin(tick()*Num)*Num2
  1164. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1165. Wing2.Fire.Acceleration = Vector3.new(x,y,z)
  1166. end)
  1167. -----------------------------------
  1168. Animation_Speed = 3
  1169. -----------------------------------
  1170. function Taunt()
  1171. attack = true
  1172. hum.WalkSpeed = 0
  1173. BTAUNT:Play()
  1174. repeat
  1175. swait()
  1176. BTAUNT.Parent = tors
  1177. 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)
  1178. 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)
  1179. 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)
  1180. 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)
  1181. 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)
  1182. 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)
  1183. until BTAUNT.Playing == false
  1184. attack = false
  1185. hum.WalkSpeed = 50
  1186. end
  1187. function welp()
  1188. attack = true
  1189. SONG = 145616154
  1190. attack = false
  1191. end
  1192. function welp2()
  1193. attack = true
  1194. SONG = 131395300
  1195. attack = false
  1196. end
  1197. function welp3()
  1198. attack = true
  1199. SONG = 2567685582
  1200. attack = false
  1201. end
  1202. -------------------------------------------
  1203. MoreTaunts = false
  1204.  
  1205. mouse.Button1Down:connect(function(key)
  1206. if attack == false then
  1207. sun_is_a_deadly_laser()
  1208. end
  1209. end)
  1210. mouse.KeyDown:connect(function(key)
  1211. if attack == false then
  1212. if key == "t" then
  1213. Taunt()
  1214. elseif key == "z" then
  1215. welp()
  1216. elseif key == "x" then
  1217. welp2()
  1218. elseif key == "c" then
  1219. welp3()
  1220. end
  1221. end
  1222. end)
  1223.  
  1224.  
  1225. function rayCast(Position, Direction, Range, Ignore)
  1226. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1227. end
  1228.  
  1229. local GodMode = {}
  1230.  
  1231. for _, c in pairs(Character:GetDescendants()) do
  1232. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1233. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1234. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1235. end
  1236. table.insert(GodMode,{c,c.Parent,c.Material,c.Transparency})
  1237. elseif c:IsA("JointInstance") then
  1238. table.insert(GodMode,{c,c.Parent,nil,nil,nil})
  1239. end
  1240. end
  1241.  
  1242. for e = 1, #GodMode do
  1243. if GodMode[e] ~= nil then
  1244. local STUFF = GodMode[e]
  1245. local PART = STUFF[1]
  1246. local PARENT = STUFF[2]
  1247. local MATERIAL = STUFF[3]
  1248. local COLOR = STUFF[4]
  1249. local TRANSPARENCY = STUFF[5]
  1250. if PART.ClassName == "Part" and PART ~= RootPart then
  1251. PART.Material = MATERIAL
  1252.  
  1253. PART.Transparency = TRANSPARENCY
  1254. end
  1255. PART.AncestryChanged:Connect(function()
  1256. PART.Parent = PARENT
  1257. end)
  1258. end
  1259. end
  1260.  
  1261. function RestoreAllBodyParts()
  1262. Character.Parent = workspace
  1263. for e = 1, #GodMode do
  1264. if GodMode[e] ~= nil then
  1265. local STUFF = GodMode[e]
  1266. local PART = STUFF[1]
  1267. local PARENT = STUFF[2]
  1268. local MATERIAL = STUFF[3]
  1269. local TRANSPARENCY = STUFF[5]
  1270. if PART.ClassName == "Part" and PART ~= RootPart then
  1271. PART.Material = MATERIAL
  1272. --- Restore()
  1273. --- Also Regen All Effects
  1274. --- Get full script Regen
  1275. --- Procceed with Restore function
  1276. PART.Transparency = TRANSPARENCY
  1277. end
  1278. if PART.Parent ~= PARENT then
  1279. Humanoid:remove()
  1280. Humanoid:restore()
  1281. PART.Parent = PARENT
  1282. PART.Parent:restore()
  1283. Humanoid = IT("Humanoid",Character)
  1284. end
  1285. end
  1286. end
  1287. end
  1288.  
  1289.  
  1290. function AntiDeath()
  1291. Character.Parent = workspace
  1292. for e = 1, #GodMode do
  1293. if GodMode[e] ~= nil then
  1294. local STUFF = GodMode[e]
  1295. local PART = STUFF[1]
  1296. local PARENT = STUFF[2]
  1297. local MATERIAL = STUFF[3]
  1298. local COLOR = STUFF[4]
  1299. local TRANSPARENCY = STUFF[5]
  1300. if PART.ClassName == "Part" and PART ~= RootPart then
  1301. PART.Material = MATERIAL
  1302.  
  1303. PART.Transparency = TRANSPARENCY
  1304. end
  1305. if PART.Parent ~= PARENT then
  1306. Humanoid:remove()
  1307. PART.Parent = PARENT
  1308. Humanoid = IT("Humanoid",Character)
  1309. end
  1310. end
  1311. end
  1312. end
  1313.  
  1314.  
  1315. Humanoid.Died:connect(function()
  1316. AntiDeath()
  1317. RestoreAllBodyParts()
  1318. Humanoid.MaxHealth = inf
  1319. Humanoid.Health = inf
  1320. end)
  1321.  
  1322. -------------------------------------------------------
  1323. --Start Animations--
  1324. -------------------------------------------------------
  1325. local equipped = false
  1326. local idle = 0
  1327. local change = 1
  1328. local val = 0
  1329. local toim = 0
  1330. local idleanim = 0.4
  1331. hum.Animator.Parent = nil
  1332. while true do
  1333. swait()
  1334. AntiDeath()
  1335. RestoreAllBodyParts()
  1336. sine = sine + change
  1337. Music.Parent = char
  1338. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1339. local velderp = root.Velocity.y
  1340. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1341. if equipped == true or equipped == false then
  1342. if attack == false then
  1343. idle = idle + 1
  1344. else
  1345. idle = 0
  1346. end
  1347. if 1 < root.Velocity.y and hitfloor == nil then
  1348. Anim = "Jump"
  1349. if attack == false then
  1350. 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)
  1351. 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)
  1352. 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)
  1353. 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)
  1354. 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)
  1355. 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)
  1356. end
  1357. elseif -1 > root.Velocity.y and hitfloor == nil then
  1358. Anim = "Fall"
  1359. if attack == false then
  1360. 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)
  1361. 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)
  1362. 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)
  1363. 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)
  1364. 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)
  1365. 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)
  1366. end
  1367. elseif torvel < 1 and hitfloor ~= nil then
  1368. Anim = "Idle"
  1369. change = 1
  1370. if attack == false then
  1371. 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)
  1372. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  1373. 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)
  1374. 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)
  1375. 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)
  1376. 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)
  1377. end
  1378. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1379. Anim = "Walk"
  1380. change = 1
  1381. if attack == false then
  1382. 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)
  1383. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  1384. 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)
  1385. 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)
  1386. 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)
  1387. 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)
  1388. end
  1389. end
  1390. end
  1391. Music.SoundId = "rbxassetid://"..SONG
  1392. Music.Looped = true
  1393. Music.Pitch = 1
  1394. Music.Volume = 3
  1395. Music.Parent = tors
  1396. Music:Resume()
  1397. if 0 < #Effects then
  1398. for e = 1, #Effects do
  1399. if Effects[e] ~= nil then
  1400. local Thing = Effects[e]
  1401. if Thing ~= nil then
  1402. local Part = Thing[1]
  1403. local Mode = Thing[2]
  1404. local Delay = Thing[3]
  1405. local IncX = Thing[4]
  1406. local IncY = Thing[5]
  1407. local IncZ = Thing[6]
  1408. if 1 >= Thing[1].Transparency then
  1409. if Thing[2] == "Block1" then
  1410. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1411. local Mesh = Thing[1].Mesh
  1412. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1413. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1414. elseif Thing[2] == "Block2" then
  1415. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1416. local Mesh = Thing[7]
  1417. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1418. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1419. elseif Thing[2] == "Block3" then
  1420. 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)
  1421. local Mesh = Thing[7]
  1422. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1423. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1424. elseif Thing[2] == "Cylinder" then
  1425. local Mesh = Thing[1].Mesh
  1426. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1427. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1428. elseif Thing[2] == "Blood" then
  1429. local Mesh = Thing[7]
  1430. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1431. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1432. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1433. elseif Thing[2] == "Elec" then
  1434. local Mesh = Thing[1].Mesh
  1435. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1436. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1437. elseif Thing[2] == "Disappear" then
  1438. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1439. elseif Thing[2] == "Shatter" then
  1440. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1441. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1442. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1443. Thing[6] = Thing[6] + Thing[5]
  1444. end
  1445. else
  1446. Part.Parent = nil
  1447. table.remove(Effects, e)
  1448. end
  1449. end
  1450. end
  1451. end
  1452. end
  1453. AntiDeath()
  1454. RestoreAllBodyParts()
  1455. end
  1456. -------------------------------------------------------
  1457. --End Animations And Script--
  1458. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement