Advertisement
Tigron1901

emper

Apr 1st, 2024 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.62 KB | None | 0 0
  1. --[[
  2. / Emperean Reanimate V2.3
  3. / made by: emperss#0
  4. / join: discord.gg/5PMtk6PJf5
  5. / for changelogs and my amazing community! follow the rules tho.
  6. / dont steal or change credits
  7. "fflags name ahh options"
  8. "fe bypasser myworldless reanimation exploit rcd disabler script permanent death unpatcher"
  9. *i kept delaying this and i have no regrets :regional_indicator_l:*
  10. ]]
  11.  
  12. local OptionsAccessories = nil
  13. local OptionsRigTransparency = nil
  14. local OptionsRigR15 = nil
  15. local OptionsRigSetHumanoidDescription = nil
  16. local OptionsRigSetCharacter = nil
  17. local OptionsTeleportXandZoffset = nil
  18. local OptionsTeleportYoffset = nil
  19. local OptionsDisableScripts = nil
  20. local OptionsDisableScreenGUIs = nil
  21. local OptionsFlingEnabled = nil
  22. local OptionsFlingToolFling = nil
  23. local OptionsFlingTimeout = nil
  24. local OptionsFlingVelocity = nil
  25. local OptionsFlingHighlightTargets = nil
  26.  
  27. local BindableEvent = nil
  28. local Boolean = false
  29. local Humanoid = nil
  30. local Rig = nil
  31. local RigHumanoid = nil
  32. local RigHumanoidRootPart = nil
  33. local Success = false
  34. local Time = nil
  35. local DeltaTime = nil
  36. local LastTime = nil
  37.  
  38. local Attachments = { }
  39. local BaseParts = { }
  40. local Blacklist = { }
  41. local Enableds = { }
  42. local Handles = { }
  43. local Highlights = { }
  44. local RBXScriptConnections = { }
  45. local RigAccessories = { }
  46. local Tables = { }
  47. local Targets = { }
  48.  
  49. local CFrame = CFrame
  50. local CFrameAngles = CFrame.Angles
  51. local CFrameidentity = CFrame.identity
  52. local CFramenew = CFrame.new
  53.  
  54. local coroutine = coroutine
  55. local coroutinecreate = coroutine.create
  56. local coroutineclose = coroutine.close
  57. local coroutineresume = coroutine.resume
  58.  
  59. local Enum = Enum
  60. local HumanoidStateType = Enum.HumanoidStateType
  61. local Physics = HumanoidStateType.Physics
  62. local Running = HumanoidStateType.Running
  63. local Track = Enum.CameraType.Track
  64. local UserInputType = Enum.UserInputType
  65. local MouseButton1 = UserInputType.MouseButton1
  66. local Touch = UserInputType.Touch
  67.  
  68. local game = game
  69. local Clone = game.Clone
  70. local Destroy = game.Destroy
  71. local FindFirstAncestorOfClass = game.FindFirstAncestorOfClass
  72. local FindFirstChildOfClass = game.FindFirstChildOfClass
  73. local GetPropertyChangedSignal = game.GetPropertyChangedSignal
  74. local GetChildren = game.GetChildren
  75. local GetDescendants = game.GetDescendants
  76. local IsA = game.IsA
  77. local Players = FindFirstChildOfClass(game, "Players")
  78. local CreateHumanoidModelFromUserId = Players.CreateHumanoidModelFromUserId
  79. local LocalPlayer = Players.LocalPlayer
  80. local Mouse = LocalPlayer:GetMouse()
  81. local RunService = FindFirstChildOfClass(game, "RunService")
  82. local PostSimulation = RunService.PostSimulation
  83. local PreRender = RunService.PreRender
  84. local PreSimulation = RunService.PreSimulation
  85. local Connect = PostSimulation.Connect
  86. local Disconnect = Connect(GetPropertyChangedSignal(game, "Parent"), function() end).Disconnect
  87. local Wait = PostSimulation.Wait
  88. local StarterGui = FindFirstChildOfClass(game, "StarterGui")
  89. local SetCore = StarterGui.SetCore
  90. local UserInputService = FindFirstChildOfClass(game, "UserInputService")
  91. local IsMouseButtonPressed = UserInputService.IsMouseButtonPressed
  92. local Workspace = FindFirstChildOfClass(game, "Workspace")
  93. local CurrentCamera = Workspace.CurrentCamera
  94.  
  95. local Instancenew = Instance.new
  96. local Humanoid = Instancenew("Humanoid")
  97. local ApplyDescription = Humanoid.ApplyDescription
  98. local ChangeState = Humanoid.ChangeState
  99. local GetAppliedDescription = Humanoid.GetAppliedDescription
  100. local Move = Humanoid.Move
  101. Destroy(Humanoid)
  102. local Part = Instancenew("Part")
  103. local GetJoints = Part.GetJoints
  104. Destroy(Part)
  105.  
  106. local math = math
  107. local mathabs = math.abs
  108. local mathrandom = math.random
  109. local mathsin = math.sin
  110.  
  111. local osclock = os.clock
  112.  
  113. local pairs = pairs
  114. local pcall = pcall
  115.  
  116. local script = script
  117.  
  118. local string = string
  119. local stringchar = string.char
  120. local stringfind = string.find
  121. local stringrep = string.rep
  122.  
  123. local table = table
  124. local tableclear = table.clear
  125. local tablefind = table.find
  126. local tableinsert = table.insert
  127. local tableremove = table.remove
  128.  
  129. local task = task
  130. local taskdefer = task.defer
  131. local taskdelay = task.delay
  132. local taskspawn = task.spawn
  133. local taskwait = task.wait
  134.  
  135. local sethiddenproperty = sethiddenproperty or function() end
  136.  
  137. local type = type
  138. local typeof = typeof
  139.  
  140. local Vector3 = Vector3
  141. local Vector3new = Vector3.new
  142. local Vector3yAxis = Vector3.yAxis
  143. local Vector3zero = Vector3.zero
  144.  
  145. local CameraCFrame = CFrameidentity
  146.  
  147. local LimbSize = Vector3new(1, 2, 1)
  148. local TorsoSize = Vector3new(2, 2, 1)
  149.  
  150. local function BreakJoints(Parent)
  151. for _, Instance in pairs(GetDescendants(Parent)) do
  152. if IsA(Instance, "JointInstance") then
  153. Destroy(Instance)
  154. end
  155. end
  156. end
  157.  
  158. coroutine.resume(coroutine.create(function()
  159. while task.wait(0.5) do
  160. local character = game.Players.LocalPlayer.Character
  161. local humanoid = character:WaitForChild("Humanoid")
  162.  
  163. if humanoid.FloorMaterial ~= Enum.Material.Air then
  164. BreakJoints(character)
  165. else
  166. print("Character is in the air.")
  167. end
  168.  
  169. end
  170. end))
  171. local function CameraSubject()
  172. CurrentCamera.CameraSubject = RigHumanoid
  173. Wait(PreRender)
  174. CurrentCamera.CFrame = CameraCFrame
  175. end
  176.  
  177. local function CameraType()
  178. if CurrentCamera.CameraType ~= Track then
  179. CurrentCamera.CameraType = Track
  180. end
  181. end
  182.  
  183. local function Camera()
  184. local Camera = Workspace.CurrentCamera
  185.  
  186. if Camera then
  187. CameraCFrame = Camera.CFrame
  188. CurrentCamera = Camera
  189.  
  190. CameraSubject()
  191. CameraType()
  192.  
  193. tableinsert(RBXScriptConnections, Connect(GetPropertyChangedSignal(Camera, "CameraSubject"), CameraSubject))
  194. tableinsert(RBXScriptConnections, Connect(GetPropertyChangedSignal(Camera, "CameraType"), CameraType))
  195. end
  196. end
  197.  
  198. local function FindFirstChildOfClassAndName(Parent, ClassName, Name)
  199. for Index, Instance in pairs(GetChildren(Parent)) do
  200. if IsA(Instance, ClassName) and Instance.Name == Name then
  201. return Instance
  202. end
  203. end
  204. end
  205.  
  206. local function WaitForChildOfClassAndName(Parent, ...)
  207. local Instance = FindFirstChildOfClassAndName(Parent, ...)
  208.  
  209. while not Instance and typeof(Parent) == "Instance" do
  210. Instance = FindFirstChildOfClassAndName(Parent, ...)
  211. Wait(Parent.ChildAdded)
  212. end
  213.  
  214. return Instance
  215. end
  216.  
  217. local function Invisible(Instance)
  218. if IsA(Instance, "BasePart") or IsA(Instance, "Decal") then
  219. Instance.Transparency = OptionsRigTransparency
  220. elseif IsA(Instance, "ForceField") or IsA(Instance, "Explosion") then
  221. Instance.Visible = false
  222. elseif IsA(Instance, "ParticleEmitter") or IsA(Instance, "Fire") or IsA(Instance, "Sparkles") then
  223. Instance.Enabled = false
  224. end
  225. end
  226.  
  227. local function DescendantAdded(Instance)
  228. if IsA(Instance, "Attachment") then
  229. local Handle = Instance.Parent
  230.  
  231. if IsA(Handle, "BasePart") then
  232. local AttachmentsAttachment = Attachments[Instance.Name]
  233.  
  234. if AttachmentsAttachment then
  235. local MeshId = ""
  236. local TextureId = ""
  237.  
  238. if IsA(Handle, "MeshPart") then
  239. MeshId = Handle.MeshId
  240. TextureId = Handle.TextureID
  241. else
  242. local SpecialMesh = FindFirstChildOfClass(Handle, "SpecialMesh")
  243.  
  244. if SpecialMesh then
  245. MeshId = SpecialMesh.MeshId
  246. TextureId = SpecialMesh.TextureId
  247. end
  248. end
  249.  
  250. for Index, Table in pairs(OptionsAccessories) do
  251. if stringfind(MeshId, Table.MeshId or "") and stringfind(TextureId, Table.TextureId or "") then
  252. local Instance = FindFirstChildOfClassAndName(Rig, "BasePart", Table.Name)
  253.  
  254. local AlternativeName = Table.AlternativeName
  255. local AlternativeInstance = false
  256.  
  257. if not Instance and AlternativeName then
  258. Instance = FindFirstChildOfClassAndName(Rig, "BasePart", AlternativeName)
  259. AlternativeInstance = true
  260. end
  261.  
  262. if Instance and not tablefind(Blacklist, Instance) then
  263. if Table.Blacklist then
  264. tableinsert(Blacklist, Instance)
  265. end
  266. BreakJoints(Handle)
  267. tableinsert(Tables, { Part0 = Handle, Part1 = Instance, CFrame = AlternativeInstance and Table.AllowAlternativeCFrame and Table.AlternativeCFrame or Table.CoordinateFrame, LastPosition = Instance.Position })
  268. return
  269. end
  270. end
  271. end
  272. for Index, Table in pairs(RigAccessories) do
  273. local TableHandle = Table.Handle
  274.  
  275. if typeof(TableHandle) == "Instance" and Table.MeshId == MeshId and Table.TextureId == TextureId then
  276. BreakJoints(Handle)
  277. tableinsert(Tables, { Part0 = Handle, Part1 = TableHandle, LastPosition = TableHandle.Position })
  278. return
  279. end
  280. end
  281.  
  282. local Accessory = Handle.Parent
  283.  
  284. if IsA(Accessory, "Accessory") then
  285. local AccessoryClone = Instancenew("Accessory")
  286. AccessoryClone.Name = Accessory.Name
  287.  
  288. local HandleClone = Clone(Handle)
  289. Invisible(HandleClone)
  290. BreakJoints(HandleClone)
  291. HandleClone.Parent = AccessoryClone
  292. print(HandleClone:GetFullName())
  293.  
  294. local Weld = Instancenew("Weld")
  295. Weld.Name = "AccessoryWeld"
  296. Weld.C0 = Instance.CFrame
  297. Weld.C1 = AttachmentsAttachment.CFrame
  298. Weld.Part0 = HandleClone
  299. Weld.Part1 = AttachmentsAttachment.Parent
  300. Weld.Parent = HandleClone
  301.  
  302. tableinsert(RigAccessories, { Handle = HandleClone, MeshId = MeshId, TextureId = TextureId })
  303. tableinsert(Tables, { Part0 = Handle, Part1 = HandleClone, LastPosition = HandleClone.Position })
  304.  
  305. AccessoryClone.Parent = Rig
  306. end
  307. end
  308. end
  309. elseif IsA(Instance, "BasePart") then
  310. Instance.CanQuery = false
  311. tableinsert(BaseParts, Instance)
  312. end
  313. end
  314.  
  315. local function ApplyDescriptionRig()
  316. local Description = GetAppliedDescription(Humanoid)
  317. Description.HatAccessory = ""
  318. Description.BackAccessory = ""
  319. Description.FaceAccessory = ""
  320. Description.HairAccessory = ""
  321. Description.NeckAccessory = ""
  322. Description.FrontAccessory = ""
  323. Description.WaistAccessory = ""
  324. Description.ShouldersAccessory = ""
  325. ApplyDescription(RigHumanoid, Description)
  326.  
  327. for Index, Instance in pairs(GetDescendants(Rig)) do
  328. Invisible(Instance)
  329. end
  330. end
  331.  
  332. local function SetCharacter()
  333. taskwait()
  334. LocalPlayer.Character = Rig
  335. end
  336. local Tools = { }
  337. local function CharacterAdded()
  338. local Character = LocalPlayer.Character
  339.  
  340. if Character and Character ~= Rig then
  341. if OptionsFlingToolFling then
  342. for Index, Backpack in pairs(GetChildren(LocalPlayer)) do
  343. if IsA(Backpack, "Backpack") then
  344. for Index, Instance in pairs(GetChildren(Backpack)) do
  345. if IsA(Instance, "Tool") then
  346. Tools[Instance] = FindFirstChildOfClassAndName(Instance, "BasePart", "Handle")
  347. Instance.Parent = Character
  348. end
  349. end
  350. end
  351. end
  352. end
  353.  
  354. if OptionsRigSetCharacter then
  355. taskspawn(SetCharacter)
  356. end
  357.  
  358. tableclear(BaseParts)
  359. tableclear(Blacklist)
  360. tableclear(Tables)
  361.  
  362. if CurrentCamera then
  363. CameraCFrame = CurrentCamera.CFrame
  364. end
  365.  
  366. for Index, Instance in pairs(GetDescendants(Character)) do
  367. DescendantAdded(Instance)
  368. end
  369.  
  370. tableinsert(RBXScriptConnections, Connect(Character.DescendantAdded, DescendantAdded))
  371.  
  372. Humanoid = WaitForChildOfClassAndName(Character, "Humanoid", "Humanoid")
  373. local HumanoidRootPart = WaitForChildOfClassAndName(Character, "BasePart", "HumanoidRootPart")
  374.  
  375. if Boolean then
  376. Camera()
  377.  
  378. if HumanoidRootPart then
  379. RigHumanoidRootPart.CFrame = HumanoidRootPart.CFrame
  380. Boolean = false
  381. end
  382.  
  383. if OptionsRigSetHumanoidDescription and RigHumanoid and Humanoid then
  384. pcall(ApplyDescriptionRig)
  385. end
  386. end
  387.  
  388. if HumanoidRootPart then
  389. for Index, Table in pairs(Targets) do
  390. if not HumanoidRootPart then
  391. break
  392. end
  393.  
  394. if Humanoid then
  395. ChangeState(Humanoid, Physics)
  396. end
  397.  
  398. local Target = Table.Target
  399.  
  400. local Timeout = Time + OptionsFlingTimeout
  401. local LastPosition = Target.Position
  402.  
  403. while Target and HumanoidRootPart do
  404. if Time > Timeout then
  405. break
  406. end
  407.  
  408. local Position = Target.Position
  409. local LinearVelocity = ( Position - LastPosition ) / DeltaTime
  410.  
  411. if LinearVelocity.Magnitude > 50 then
  412. break
  413. end
  414.  
  415. LastPosition = Position
  416.  
  417. HumanoidRootPart.AssemblyAngularVelocity = OptionsFlingVelocity
  418. HumanoidRootPart.AssemblyLinearVelocity = OptionsFlingVelocity
  419.  
  420. HumanoidRootPart.CFrame = Target.CFrame * CFramenew(0, 0, 4 * mathsin(Time * 30)) * CFrameAngles(mathrandom(- 360, 360), mathrandom(- 360, 360), mathrandom(- 360, 360)) + ( LinearVelocity * 0.5)
  421. taskwait()
  422. end
  423.  
  424. local Highlight = Table.Highlight
  425.  
  426. if Highlight then
  427. Destroy(Highlight)
  428. end
  429.  
  430. Targets[Index] = nil
  431. end
  432.  
  433. if Humanoid then
  434. ChangeState(Humanoid, Running)
  435. end
  436.  
  437. if RigHumanoidRootPart then
  438. HumanoidRootPart.AssemblyAngularVelocity = Vector3zero
  439. HumanoidRootPart.AssemblyLinearVelocity = Vector3zero
  440.  
  441. HumanoidRootPart.CFrame = RigHumanoidRootPart.CFrame + Vector3new(mathrandom(- OptionsTeleportXandZoffset, OptionsTeleportXandZoffset), OptionsTeleportYoffset, mathrandom(- OptionsTeleportXandZoffset, OptionsTeleportXandZoffset))
  442. end
  443. end
  444.  
  445. taskwait(0.5)
  446.  
  447.  
  448. end
  449. end
  450.  
  451. local function PostSimulationConnect()
  452. sethiddenproperty(LocalPlayer, "SimulationRadius", 2147483647)
  453.  
  454. Time = osclock()
  455. DeltaTime = Time - LastTime
  456. LastTime = Time
  457.  
  458. local Integer = 29 + mathsin(Time)
  459. local Vector3 = Vector3new(0, 0, 0.002 * mathsin(Time * 25))
  460.  
  461. for Index, Table in pairs(Tables) do
  462. local Part0 = Table.Part0
  463. local Part1 = Table.Part1
  464.  
  465. if Part0 and # GetJoints(Part0) == 0 and Part0.ReceiveAge == 0 and Part1 then
  466. Part0.AssemblyAngularVelocity = Vector3zero
  467.  
  468. local Position = Part1.Position
  469. local LinearVelocity = ( ( Table.LastPosition - Position ) / DeltaTime ) * Integer
  470. Table.LastPosition = Position
  471.  
  472. Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Integer, LinearVelocity.Z)
  473.  
  474. Part0.CFrame = Part1.CFrame * ( Table.CFrame or CFrameidentity ) + Vector3
  475. end
  476. end
  477.  
  478. local Hit = Mouse.Hit
  479. local Holding = IsMouseButtonPressed(UserInputService, MouseButton1)
  480.  
  481. for Tool, BasePart in pairs(Tools) do
  482. if BasePart.ReceiveAge == 0 and # GetJoints(BasePart) == 0 then
  483. BasePart.CanCollide = false
  484. BasePart.AssemblyAngularVelocity = OptionsFlingVelocity
  485. BasePart.AssemblyLinearVelocity = OptionsFlingVelocity
  486.  
  487. if Holding then
  488. BasePart.CFrame = Hit
  489. elseif RigHumanoidRootPart then
  490. BasePart.CFrame = RigHumanoidRootPart.CFrame * CFramenew(0, OptionsTeleportYoffset, 0) * CFrameAngles(mathrandom(- 360, 360), mathrandom(- 360, 360), mathrandom(- 360, 360))
  491. else
  492. BasePart.CFrame = CFrameidentity
  493. end
  494. end
  495. end
  496.  
  497. if RigHumanoid and Humanoid then
  498. RigHumanoid.Jump = Humanoid.Jump
  499. Move(RigHumanoid, Humanoid.MoveDirection)
  500. end
  501.  
  502. if not Success then
  503. Success = pcall(SetCore, StarterGui, "ResetButtonCallback", BindableEvent)
  504. else
  505. SetCore(StarterGui, "ResetButtonCallback", BindableEvent)
  506. end
  507. end
  508.  
  509. local function PreSimulationConnect()
  510. for Index, BasePart in pairs(BaseParts) do
  511. BasePart.CanCollide = false
  512. end
  513. end
  514.  
  515. local function Fling(Target)
  516. if typeof(Target) == "Instance" then
  517. if IsA(Target, "Humanoid") then
  518. Target = Target.Parent
  519. end
  520. if IsA(Target.Parent, "Accessory") then
  521. Target = FindFirstAncestorOfClass(Target, "Model")
  522. end
  523. if IsA(Target, "Model") then
  524. Target = FindFirstChildOfClassAndName(Target, "BasePart", "HumanoidRootPart")
  525. end
  526. if IsA(Target, "BasePart") then
  527. for Index, Table in pairs(Targets) do
  528. if Table.Target == Target then
  529. return
  530. end
  531. end
  532.  
  533. local Parent = Target.Parent
  534.  
  535. local Highlight = nil
  536.  
  537. if OptionsFlingHighlightTargets then
  538. Highlight = Instancenew("Highlight")
  539. Highlight.Adornee = Parent
  540. Highlight.Parent = Parent
  541. tableinsert(Highlights, Highlight)
  542. end
  543.  
  544. tableinsert(Targets, {Highlight = Highlight, Target = Target})
  545. end
  546. end
  547. end
  548.  
  549. local function InputBegan(InputObject)
  550. local UserInputType = InputObject.UserInputType
  551.  
  552. if UserInputType == MouseButton1 or UserInputType == Touch then
  553. local Target = Mouse.Target
  554.  
  555. if Target and not Target.Anchored then
  556. local Model = Target.Parent
  557.  
  558. if IsA(Model, "Model") and FindFirstChildOfClass(Model, "Humanoid") then
  559. local HumanoidRootPart = FindFirstChildOfClassAndName(Model, "BasePart", "HumanoidRootPart")
  560.  
  561. if HumanoidRootPart then
  562. Fling(HumanoidRootPart)
  563. end
  564. else
  565. Fling(Target)
  566. end
  567. end
  568. end
  569. end
  570.  
  571. local function gameDescendantAdded(Instance)
  572. if ( OptionsDisableScreenGUIs and IsA(Instance, "ScreenGui") ) or ( OptionsDisableScripts and Instance ~= script and ( IsA(Instance, "LocalScript") or IsA(Instance, "Script") ) ) then
  573. Enableds[Instance] = Instance.Enabled
  574. Instance.Enabled = false
  575.  
  576. tableinsert(RBXScriptConnections, Connect(GetPropertyChangedSignal(Instance, "Enabled"), function()
  577. Enableds[Instance] = Instance.Enabled
  578. Instance.Enabled = false
  579. end))
  580. end
  581. end
  582.  
  583. local function Stop()
  584. for Index, RBXScriptConnection in pairs(RBXScriptConnections) do
  585. Disconnect(RBXScriptConnection)
  586. end
  587. for Index, Highlight in pairs(Highlights) do
  588. Destroy(Highlight)
  589. end
  590. for Instance, Boolean in pairs(Enableds) do
  591. Instance.Enabled = Boolean
  592. end
  593.  
  594. tableclear(Attachments)
  595. tableclear(BaseParts)
  596. tableclear(Enableds)
  597. tableclear(Handles)
  598. tableclear(Highlights)
  599. tableclear(RBXScriptConnections)
  600. tableclear(Tables)
  601. tableclear(Targets)
  602.  
  603. if Rig then
  604. Destroy(Rig)
  605. end
  606.  
  607. Destroy(BindableEvent)
  608. SetCore(StarterGui, "ResetButtonCallback", true)
  609. end
  610.  
  611. _G.STOP = Stop
  612. local Emperean = {
  613. Stop = Stop,
  614. Start = function(Options)
  615. Options = Options or { }
  616. OptionsAccessories = Options.Accessories or {}
  617. local OptionsRig = Options.Rig
  618. OptionsRigTransparency = OptionsRig.Transparency
  619. OptionsRigR15 = OptionsRig.R15
  620. OptionsRigSetHumanoidDescription = OptionsRig.SetHumanoidDescription
  621. OptionsRigSetCharacter = OptionsRig.SetCharacter
  622. local OptionsTeleport = Options.Teleport or {}
  623. local XandYoffset = OptionsTeleport.XandYoffset
  624. OptionsTeleportXandZoffset = XandYoffset and mathabs(XandYoffset) or 6
  625. OptionsTeleportYoffset = OptionsTeleport.Yoffset or 0
  626. local OptionsDisable = Options.Disable
  627. OptionsDisableScripts = OptionsDisable.Scripts
  628. OptionsDisableScreenGUIs = OptionsDisable.GUIs
  629. local OptionsFling = Options.Fling or {}
  630. OptionsFlingEnabled = OptionsFling.Enabled
  631. OptionsFlingToolFling = OptionsFling.ToolFling
  632. OptionsFlingTimeout = OptionsFling.Timeout or 1.5
  633. OptionsFlingVelocity = OptionsFling.Velocity or Vector3new(0, 4096, 0)
  634. OptionsFlingHighlightTargets = OptionsFling.HighlightTargets
  635.  
  636. if OptionsDisableScripts or OptionsDisableScreenGUIs then
  637. for Index, Instance in pairs(GetDescendants(game)) do
  638. gameDescendantAdded(Instance)
  639. end
  640.  
  641. tableinsert(RBXScriptConnections, Connect(game.DescendantAdded, gameDescendantAdded))
  642. end
  643.  
  644. Boolean = true
  645. LastTime = osclock()
  646.  
  647. Rig = OptionsRigR15 and CreateHumanoidModelFromUserId(Players, 5532894300) or CreateHumanoidModelFromUserId(Players, 5532891747)
  648. Rig.Name = "bot"
  649. RigHumanoid = Rig.Humanoid
  650. RigHumanoidRootPart = Rig.HumanoidRootPart
  651. Rig.Parent = Workspace
  652.  
  653. for Index, Instance in pairs(GetDescendants(Rig)) do
  654. if IsA(Instance, "Attachment") then
  655. Attachments[Instance.Name] = Instance
  656. else
  657. Invisible(Instance)
  658. end
  659. end
  660.  
  661. BindableEvent = Instancenew("BindableEvent")
  662. Connect(BindableEvent.Event, Stop)
  663.  
  664. tableinsert(RBXScriptConnections, Connect(GetPropertyChangedSignal(Workspace, "CurrentCamera"), Camera))
  665.  
  666. CharacterAdded()
  667. tableinsert(RBXScriptConnections, Connect(GetPropertyChangedSignal(LocalPlayer, "Character"), CharacterAdded))
  668.  
  669. if OptionsFlingEnabled then
  670. tableinsert(RBXScriptConnections, Connect(UserInputService.InputBegan, InputBegan))
  671. end
  672.  
  673. tableinsert(RBXScriptConnections, Connect(PreSimulation, PreSimulationConnect))
  674. tableinsert(RBXScriptConnections, Connect(PostSimulation, PostSimulationConnect))
  675.  
  676. return {
  677. Rig = Rig,
  678. Options = Options,
  679. Fling = Fling,
  680. },
  681. taskwait()
  682. end,
  683. }
  684.  
  685.  
  686. Emperean.Start({
  687. Accessories = {
  688. { Blacklist = true, Name = "Torso", AlternativeName = "UpperTorso", MeshId = "14413791480", TextureId = "14413794823", AllowAlternativeCFrame = false, CoordinateFrame = CFrameidentity, AlternativeCFrame = CFrameidentity },
  689.  
  690. { Blacklist = true, Name = "Right Arm", AlternativeName = "RightLowerArm", MeshId = "12867814848", TextureId = "12794084950", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(0, 0, 0), AlternativeCFrame = CFrameidentity },
  691. { Blacklist = true, Name = "Left Arm", AlternativeName = "LeftLowerArm", MeshId = "12867814848", TextureId = "12867874342", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(0, - 1.57, 0), AlternativeCFrame = CFrameidentity },
  692. { Blacklist = true, Name = "Right Leg", AlternativeName = "RightLowerLeg", MeshId = "12867814848", TextureId = "12867873138", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(0, 1.57, 0), AlternativeCFrame = CFrameidentity },
  693. { Blacklist = true, Name = "Left Leg", AlternativeName = "LeftLowerLeg", MeshId = "12867814848", TextureId = "12794082919", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(0, 0, 0), AlternativeCFrame = CFrameidentity },
  694.  
  695. { Blacklist = true, Name = "Right Arm", AlternativeName = "RightLowerArm", MeshId = "12344206657", TextureId = "12344206675", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(- 2, 0, 0), AlternativeCFrame = CFrameidentity },
  696. { Blacklist = true, Name = "Left Arm", AlternativeName = "LeftLowerArm", MeshId = "12344207333", TextureId = "12344207341", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(- 2, 0, 0), AlternativeCFrame = CFrameidentity },
  697. { Blacklist = true, Name = "Right Leg", AlternativeName = "RightLowerLeg", MeshId = "11263221350", TextureId = "11263219250", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(1.57, - 1.57, 0), AlternativeCFrame = CFrameidentity },
  698. { Blacklist = true, Name = "Left Leg", AlternativeName = "LeftLowerLeg", MeshId = "11159370334", TextureId = "11159284657", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(1.57, 1.57, 0), AlternativeCFrame = CFrameidentity },
  699.  
  700. { Blacklist = true, Name = "Torso", AlternativeName = "UpperTorso", MeshId = "4819720316", TextureId = "4819722776", AllowAlternativeCFrame = false, CoordinateFrame = CFrameidentity, AlternativeCFrame = CFrameidentity },
  701. { Blacklist = true, Name = "Right Arm", AlternativeName = "RightLowerArm", MeshId = "4324138105", TextureId = "4391374782", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(1.57, 1.57, 0), AlternativeCFrame = CFrameidentity },
  702. { Blacklist = true, Name = "Left Arm", AlternativeName = "LeftLowerArm", MeshId = "4154474745", TextureId = "4154474807", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(1.57, 1.57, 0), AlternativeCFrame = CFrameidentity },
  703. { Blacklist = true, Name = "Right Leg", AlternativeName = "RightLowerLeg", MeshId = "4094864753", TextureId = "4094881938", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(1.57, 1.57, 0), AlternativeCFrame = CFrameidentity },
  704. { Blacklist = true, Name = "Left Leg", AlternativeName = "LeftLowerLeg", MeshId = "4489232754", TextureId = "4489233876", AllowAlternativeCFrame = false, CoordinateFrame = CFrameAngles(1.57, 1.57, 0), AlternativeCFrame = CFrameidentity },
  705. },
  706. Rig = {
  707. Transparency = 1,
  708. R15 = false,
  709. SetHumanoidDescription = true,
  710. SetCharacter = false
  711. },
  712. Teleport = {
  713. XandZoffset = 16,
  714. Yoffset = 0
  715. },
  716. Disable = {
  717. Scripts = false,
  718. ScreenGUIs = true
  719. },
  720. Fling = {
  721. Enabled = false,
  722. ToolFling = false,
  723. Timeout = 1.25,
  724. Velocity = Vector3new(0, 4096, 4096),
  725. HighlightTargets = true
  726. }
  727. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement