Advertisement
Idkrandomthingyyyy

Edited Custom Style UI

Oct 4th, 2023
513
1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.42 KB | None | 1 0
  1. -- Welcome to ER2F * Explorer R2F
  2. -- Made by MadnessMyth
  3.  
  4. -- Controls:
  5.  
  6. -- R to toggle UI
  7. -- X while mouse is hovered on the title of the Window
  8. -- 1,2,3,4,5,6,7,8,9, to change the Explorer category
  9. -- M1 Is reserved for local sided events, anims, events, audio,
  10. -- M2 Is reserved for server sided events, anims, events, audio,
  11.  
  12. --Code!
  13.  
  14. -- Variables
  15.  
  16. local TooltipData = {
  17. -- QTE
  18. TurnBased = "This allows QTE to cancel at any time",
  19. -- Reactions
  20.  
  21. HeatNeeded = "The heat needed for this heat action, climax: red heat, normal: blue heat",
  22. HeatUse = "Heat used by the heat action, Heat can range from 0 to 100",
  23. Closest = "The object used to know how close 1-4 victims need to be for this action.",
  24. Distance = "The heat actions range",
  25.  
  26. Reaction = "What the action does to affected enemies",
  27.  
  28. -- Stats
  29.  
  30. HorizKnockback = "How much knockback the enemy gets when hit.",
  31. FinishingBlow = "When existing, the attack is a Finishing Blow.",
  32. MoveDuration = "How long the move has lasted.",
  33. HitboxLocations = "The hitbox's CFrame data in a string.",
  34. MoveForawrd = "How much the attack moves you forward",
  35. AniSpeed = "The animation speed, 2 is double the speed.",
  36. StartAt = "When the attack starts (In seconds)",
  37. EndAt = "When the attack ends (In seconds)",
  38. Circle = "Attack in a circle",
  39. Knockout = "Ragdoll enemies whom got hit.",
  40. Trail = "When this value exists, the attack will have a trail.",
  41. RagdollTime = "The ragdoll duration of ragdolled enemies",
  42. IgnoreBlock = "Ignore blocking and hit normally",
  43. Sound = "Sound when the action is activated",
  44. HSound = "Hit sound",
  45. Dmg = "The damage dealt",
  46. Anim = "The animation.",
  47. Stumble = "Hit lock the enemy (Stuns for a small amount of time)",
  48. CounterAttack = "When existing, the action can only be used during an enemies attack.",
  49. Invulnerable = "Gives you invulnerablity during the attack.",
  50. HSize = "The size of the hitbox in Studs, (circle)",
  51. ComboAt = "The amount of time until you can start the next attack",
  52. Cancelable = "Enemies can cancel your attack by fighting back.",
  53. NoKnockback = 'This attack can not deal any knockback.',
  54. RushSet = "This attack inside of a rush set (Inside of a combo folder)",
  55. TauntSound = "This allows the action to play the taunt sound.",
  56. ForceSound = "This makes it so it can play a sound whenever.",
  57. NoDmg = "When existing, this attack can not deal any damage to enemies.",
  58. RagdollHeight = "How many studs high will the ragdolled opponent go after the heat action.",
  59. NeedAbility = "You need the ablity to use this action.",
  60. NoBosses = "When existing, this ablity can not be used on bosses. (Can be used on mini-bosses)",
  61. GiveHeat = 'Gives the player heat after using this heat action.',
  62. WhenAttacking = "Allows you to use this action whenever the enemy is attacking (The red flash does not need to show up.)",
  63. LockedDirection = "You can only use this while locked on a enemy, Or it will auto lock.",
  64. CanBeEvaded = "Allows the enemies or you to dodge this attack.",
  65. IgnoreResist = 'Will ignore brute blocking when this action is peformed.',
  66. Stun = "Stun enemies who got hit by this action.",
  67. SF = 'Delay before move forward or any other movers will be active.',
  68. FixedCF = "Fixed CFrame, your character and your enemey will have a set positon.",
  69. DuringAttack = "This heat action can be used while the enemy is attacking.",
  70. RotateDeez = "This is used by the game to know what to do when your camera's angle changes to be above or below this value.",
  71. CorpseIncluded = "This allows you to use the action when a battle ends or after the battle ends.",
  72. ShieldBreak = "Breaks the enemies shield when hit.",
  73. Prop = "This action can only be used when wielding a weapon.",
  74. NoShieldBreak = "You can not do anything at all to break an enemies shield when you use this action.",
  75. CanUseWeapon = "You can use a weapon with this action.",
  76. WhileEvading = "You need to be in a evading state to peform this action.",
  77. NeedBlunt = "You need a blunt weapon to use this action.",
  78. SuperArmor = "You are given super armor during this attack (You can not take knockback during this attack).",
  79. IgnoreDmg = "You can not take damage during this action.",
  80. OvercomeWeapon = "When the action is peformed, any props beingpairs() wielded will be broken.",
  81. ThrowProp = "When this action is peformend, any wielded props will be thrown.",
  82. InstantTurn = "Will turn the player instantly to a locked target when the action is peformed.",
  83. KnockoutDistance = "How far a enemy is punted away in studs.",
  84. delayqte = "The delay before a new QTE is done after a action.",
  85. addqte = "The delay after doing a QTE for a new one.",
  86. Warp = "Teleports the person doing the action to the correct position.",
  87. Grabber = "The enemy will be grabbed instead of damaged when damage is supposed to be dealt.",
  88.  
  89. -- Requirements
  90.  
  91. UseWeapon = "When this is placed, you have to have the weapon out to use this action. E.G: Pistols, SMGS, etc",
  92. AdminOnly = "This action is restricted to Administrators only. Oh how sad.",
  93. DuringRagdoll = "You can only use this while you are ragdolled.",
  94. YouNeed = "X amount of victims until this heat action can be peformed.",
  95. Victim1 = "The first victim affected by the heat action",
  96. Victim2 = "The second victim affected by the heat action",
  97. Victim3 = "The third victim affected by the heat action",
  98. Victim4 = "The fourth victim affected by the heat action",
  99.  
  100. KF1 = "The stats of the first victim affected by the heat action",
  101. KF2 = "The stats of the second victim affected by the heat action",
  102. KF3 = "The stats of the third victim affected by the heat action",
  103. KF4 = "The stats of the fourth victim affected by the heat action",
  104. }
  105.  
  106. -- Setup, do not touch!
  107.  
  108. local ts = game:GetService("TweenService")
  109.  
  110. TooltipData = setmetatable(TooltipData, {
  111. __index = function()
  112. return "No documentation found."
  113. end,
  114. })
  115.  
  116. local function ultra_sub(str, gsubs)
  117. local new = str
  118.  
  119. for i,v in pairs(gsubs) do
  120. new = new:gsub(i, v)
  121. end
  122.  
  123. return new
  124. end
  125.  
  126. local conversions = {
  127. Animation = function(b)
  128. local ipath = "game."..b.Parent:GetFullName()
  129. local value = b.AnimationId
  130. local name = b.Name
  131. local class = b.ClassName
  132.  
  133. return ultra_sub([[if objectpath_xoamg:FindFirstChild("objectname_xoamg") then
  134. v = objectpath_xoamg["objectname_xoamg"]
  135. else
  136. v = Instance.new("objectclass_xoamg", objectpath_xoamg)
  137. end
  138.  
  139. v.AnimationId = "objectvalue_xoamg"
  140. v.Name = "objectname_xoamg"]], {objectpath_xoamg = ipath, objectname_xoamg = name, objectvalue_xoamg = value, objectclass_xoamg = class})
  141. end,
  142.  
  143. Folder = function(b)
  144. local ipath = "game."..b.Parent:GetFullName()
  145. local name = b.Name
  146. local class = b.ClassName
  147.  
  148. return ultra_sub([[if objectpath_xoamg:FindFirstChild("objectname_xoamg") then
  149. v = objectpath_xoamg["objectname_xoamg"]
  150. else
  151. v = Instance.new("objectclass_xoamg", objectpath_xoamg)
  152. end
  153. v.Name = "objectname_xoamg"]], {objectpath_xoamg = ipath, objectname_xoamg = name, objectclass_xoamg = class})
  154. end,
  155.  
  156. StringValue = function(b)
  157. local ipath = "game."..b.Parent:GetFullName()
  158. local value = b.Value
  159. local name = b.Name
  160. local class = b.ClassName
  161.  
  162. return ultra_sub([[if objectpath_xoamg:FindFirstChild("objectname_xoamg") then
  163. v = objectpath_xoamg["objectname_xoamg"]
  164. else
  165. v = Instance.new("objectclass_xoamg", objectpath_xoamg)
  166. end
  167. v.Value = 'objectvalue_xoamg'
  168. v.Name = "objectname_xoamg"]], {objectpath_xoamg = ipath, objectname_xoamg = name, objectvalue_xoamg = value, objectclass_xoamg = class})
  169. end,
  170.  
  171. NumberValue = function(b)
  172. local ipath = "game."..b.Parent:GetFullName()
  173. local value = b.Value
  174. local name = b.Name
  175. local class = b.ClassName
  176.  
  177. return ultra_sub([[if objectpath_xoamg:FindFirstChild("objectname_xoamg") then
  178. v = objectpath_xoamg["objectname_xoamg"]
  179. else
  180. v = Instance.new("objectclass_xoamg", objectpath_xoamg)
  181. end
  182. v.Value = objectvalue_xoamg
  183. v.Name = "objectname_xoamg"]], {objectpath_xoamg = ipath, objectname_xoamg = name, objectvalue_xoamg = value, objectclass_xoamg = class})
  184. end,
  185.  
  186. IntValue = function(b)
  187. local ipath = "game."..b.Parent:GetFullName()
  188. local value = b.Value
  189. local name = b.Name
  190. local class = b.ClassName
  191.  
  192. return ultra_sub([[if objectpath_xoamg:FindFirstChild("objectname_xoamg") then
  193. v = objectpath_xoamg["objectname_xoamg"]
  194. else
  195. v = Instance.new("objectclass_xoamg", objectpath_xoamg)
  196. end
  197. v.Value = objectvalue_xoamg
  198. v.Name = "objectname_xoamg"]], {objectpath_xoamg = ipath, objectname_xoamg = name, objectvalue_xoamg = value, objectclass_xoamg = class})
  199. end,
  200.  
  201. Color3Value = function(b)
  202. local ipath = "game."..b.Parent:GetFullName()
  203. local value = b.Value
  204. local name = b.Name
  205. local class = b.ClassName
  206.  
  207. return ultra_sub([[if objectpath_xoamg:FindFirstChild("objectname_xoamg") then
  208. v = objectpath_xoamg["objectname_xoamg"]
  209. else
  210. v = Instance.new("objectclass_xoamg", objectpath_xoamg)
  211. end
  212. v.Value = Color3.fromRGB(objectvalue_r_xoamg,objectvalue_g_xoamg,objectvalue_b_xoamg)
  213. v.Name = "objectname_xoamg"]], {objectpath_xoamg = ipath, objectname_xoamg = name, objectvalue_r_xoamg = value.R * 255, objectvalue_g_xoamg = value.G * 255, objectvalue_b_xoamg = value.B * 255, objectclass_xoamg = class})
  214. end
  215. }
  216.  
  217. local function convert(b:Instance)
  218. if not conversions[b.ClassName] then
  219. error("datatype does not exist! "..b.ClassName)
  220. return
  221. end
  222.  
  223. local result = conversions[b.ClassName](b)
  224.  
  225. if result and typeof(result) == "string" then
  226. return result
  227. else
  228. warn("data")
  229. warn(result)
  230. warn("typedata")
  231. warn(typeof(result))
  232. warn("Broken datatype! "..b.ClassName)
  233. end
  234. end
  235.  
  236. local plr = game.Players.LocalPlayer
  237. local pgui = plr.PlayerGui
  238. local interf = pgui.Interface
  239. local bt = interf.Battle
  240. local main = bt.Main
  241.  
  242. local function sendNotification(text, color)
  243. if not color then color = Color3.new(1, 1, 1) end
  244. pgui.Notify.Awards.ChildAdded:Once(function(c)
  245. if c.Text == text then
  246. c.TextColor3 = color
  247. coroutine.wrap(function()
  248. local con;
  249. con = game:GetService("RunService").RenderStepped:Connect(function()
  250. if not c then
  251. con:Disconnect()
  252. return
  253. end
  254. c.TextColor3 = color
  255. end)()
  256. end)()
  257. end
  258. end)
  259. pgui["नोटिफ"]:Fire(text)
  260. end
  261.  
  262. -- Instances:
  263.  
  264. -- Gui to Lua
  265. -- Version: 3.2
  266.  
  267. local ScreenGui = Instance.new("ScreenGui")
  268. local Frame = Instance.new("Frame")
  269. local Frame_2 = Instance.new("Frame")
  270. local ScrollingFrame = Instance.new("ScrollingFrame")
  271. local TextLabel = Instance.new("TextBox")
  272. local ViewportFrame = Instance.new("ViewportFrame")
  273. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  274. local UIGradient = Instance.new("UIGradient")
  275. local Frame_3 = Instance.new("Frame")
  276. local UIGradient_2 = Instance.new("UIGradient")
  277. local TextLabel_2 = Instance.new("TextLabel")
  278. local TextLabel_3 = Instance.new("TextLabel")
  279. local TextLabel_4 = Instance.new("TextLabel")
  280. local TextLabel_5 = Instance.new("TextLabel")
  281. local Search = Instance.new("TextBox")
  282.  
  283. --Properties:
  284.  
  285. local t = Instance.new("TextButton", Frame)
  286. t.Transparency = 1
  287. t.Modal = true
  288.  
  289. ScreenGui.IgnoreGuiInset = true
  290. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  291. ScreenGui.ResetOnSpawn = false
  292.  
  293. Frame.Parent = ScreenGui
  294. Frame.BackgroundColor3 = Color3.fromRGB(54, 54, 54)
  295. Frame.BorderSizePixel = 0
  296. Frame.Position = UDim2.new(0.259390414, 0, 0.217391238, 0)
  297. Frame.Size = UDim2.new(0.480449498, 0, 0.0638587251, 0)
  298. Frame.ZIndex = 2
  299.  
  300. local SearchBar = Instance.new("Frame", Frame_2)
  301.  
  302. SearchBar.Size = UDim2.fromScale(0.5, 0.1)
  303. SearchBar.Position = UDim2.new(0.5, 0, 0.025, 0)
  304. SearchBar.BackgroundColor3 = Color3.new(1,1,1)
  305. SearchBar.BackgroundTransparency = 0.9
  306. SearchBar.ZIndex = 3
  307.  
  308. Search.Size = UDim2.fromScale(1, 1)
  309. Search.Position = UDim2.new(0, 0, 0, 0)
  310. Search.BackgroundTransparency = Color3.new(0.7, 0.7, 0.7)
  311. Search.BackgroundTransparency = 0
  312. Search.ZIndex = 4
  313. Search.PlaceholderText = "Search here"
  314. Search.Text = ""
  315. Search.ClearTextOnFocus = false
  316. Search.TextScaled = true
  317. Search.TextColor3 = Color3.new(1, 1, 1)
  318. Search.Parent = SearchBar
  319.  
  320. local padding = Instance.new("UIPadding", SearchBar)
  321. padding.PaddingTop = UDim.new(0, 8)
  322. padding.PaddingBottom = UDim.new(0, 8)
  323. padding.PaddingLeft = UDim.new(0, 8)
  324. padding.PaddingRight = UDim.new(0, 8)
  325.  
  326. local padding = Instance.new("UIPadding", Search)
  327. padding.PaddingTop = UDim.new(0, 2)
  328. padding.PaddingBottom = UDim.new(0, 2)
  329. padding.PaddingLeft = UDim.new(0, 2)
  330. padding.PaddingRight = UDim.new(0, 2)
  331.  
  332. local corner = Instance.new("UICorner", Search)
  333. Search.BackgroundTransparency = 0.75
  334.  
  335. Frame_2.Parent = Frame
  336. Frame_2.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
  337. Frame_2.BorderSizePixel = 0
  338. Frame_2.Position = UDim2.new(0.00884408504, 0, 0.9816432, 0)
  339. Frame_2.Size = UDim2.new(0.983145714, 0, 7.45732832, 0)
  340. Frame_2.ZIndex = 0
  341.  
  342. local UIGradient = Instance.new("UIGradient")
  343.  
  344.  
  345. Instance.new("UICorner", ViewportFrame)
  346.  
  347. --Properties:
  348.  
  349. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(0.37, Color3.fromRGB(244, 244, 244)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(170, 170, 170))}
  350. UIGradient.Rotation = 90
  351. UIGradient.Parent = Frame_3
  352.  
  353. ScrollingFrame.Parent = Frame_2
  354. ScrollingFrame.Active = true
  355. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  356. ScrollingFrame.BackgroundTransparency = 0.900
  357. ScrollingFrame.Position = UDim2.new(0.5, 0, 1-0.875, 0)
  358. ScrollingFrame.Size = UDim2.new(0.5, 0, 0.875, 0)
  359. ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
  360. ScrollingFrame.HorizontalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  361. ScrollingFrame.ClipsDescendants = true
  362.  
  363. local padding = Instance.new("UIPadding", ScrollingFrame)
  364. padding.PaddingTop = UDim.new(0, 6)
  365.  
  366. TextLabel.Name = "TextLabel"
  367. TextLabel.Parent = Frame_2
  368. TextLabel.Active = false
  369. TextLabel.TextEditable = false
  370. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  371. TextLabel.BackgroundTransparency = 1.000
  372. TextLabel.Position = UDim2.new(0.0169449076, 0, 0.0586978942, 0)
  373. TextLabel.Selectable = false
  374. TextLabel.Size = UDim2.new(0.465519071, 0, 0.0974802077, 0)
  375. TextLabel.ZIndex = 4
  376. TextLabel.ClearTextOnFocus = false
  377. TextLabel.Font = Enum.Font.SourceSansBold
  378. TextLabel.PlaceholderText = "id"
  379. TextLabel.Text = ""
  380. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  381. TextLabel.TextScaled = true
  382. TextLabel.TextSize = 14.000
  383. TextLabel.TextWrapped = true
  384. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  385.  
  386. ViewportFrame.BackgroundTransparency = 0.7
  387. ViewportFrame.AnchorPoint = Vector2.new(0.5, 0)
  388. ViewportFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  389. ViewportFrame.Parent = Frame_2
  390. ViewportFrame.Position = UDim2.new(0.237909153, 0, 0.262771815, 0)
  391. ViewportFrame.Size = UDim2.fromScale(0.434, 0.643)
  392.  
  393. UIAspectRatioConstraint.Parent = ViewportFrame
  394.  
  395. UIGradient.Rotation = 90
  396. UIGradient.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.00), NumberSequenceKeypoint.new(0.78, 0.16), NumberSequenceKeypoint.new(1.00, 0.29)}
  397. UIGradient.Parent = ViewportFrame
  398.  
  399. Frame_3.Parent = Frame
  400. Frame_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  401. Frame_3.BorderSizePixel = 0
  402. Frame_3.Position = UDim2.new(0.00884403568, 0, 0.430648267, 0)
  403. Frame_3.Size = UDim2.new(0.991155982, 0, 0.99999994, 0)
  404.  
  405. UIGradient_2.Rotation = 90
  406. UIGradient_2.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.58), NumberSequenceKeypoint.new(1.00, 1.00)}
  407. UIGradient_2.Parent = Frame_3
  408.  
  409. TextLabel_2.Parent = Frame
  410. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  411. TextLabel_2.BackgroundTransparency = 1.000
  412. TextLabel_2.Position = UDim2.new(0.0256328117, 0, 0.212765858, 0)
  413. TextLabel_2.Rotation = 1.000
  414. TextLabel_2.Size = UDim2.new(0.259852558, 0, 0.574468195, 0)
  415. TextLabel_2.ZIndex = 4
  416. TextLabel_2.Font = Enum.Font.SourceSansBold
  417. TextLabel_2.Text = "Animation List"
  418. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  419. TextLabel_2.TextScaled = true
  420. TextLabel_2.TextSize = 14.000
  421. TextLabel_2.TextWrapped = true
  422. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  423.  
  424. TextLabel_3.Parent = Frame
  425. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  426. TextLabel_3.BackgroundTransparency = 1.000
  427. TextLabel_3.Position = UDim2.new(0, 0, 0.212765858, 0)
  428. TextLabel_3.Rotation = 2.000
  429. TextLabel_3.Size = UDim2.new(0.4, 0, 0.768877447, 0)
  430. TextLabel_3.ZIndex = 3
  431. TextLabel_3.Font = Enum.Font.SourceSansBold
  432. TextLabel_3.Text = "Animation List"
  433. TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  434. TextLabel_3.TextScaled = true
  435. TextLabel_3.TextSize = 14.000
  436. TextLabel_3.TextTransparency = 0.500
  437. TextLabel_3.TextWrapped = true
  438. TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
  439.  
  440. TextLabel_4.Parent = Frame
  441. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  442. TextLabel_4.BackgroundTransparency = 1.000
  443. TextLabel_4.Position = UDim2.new(0.722524881, 0, 0.212765872, 0)
  444. TextLabel_4.Rotation = -1.000
  445. TextLabel_4.Size = UDim2.new(0.259852558, 0, 0.574468195, 0)
  446. TextLabel_4.ZIndex = 4
  447. TextLabel_4.Font = Enum.Font.SourceSansBold
  448. TextLabel_4.Text = "By MadnessMyth"
  449. TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  450. TextLabel_4.TextScaled = true
  451. TextLabel_4.TextSize = 14.000
  452. TextLabel_4.TextWrapped = true
  453. TextLabel_4.TextXAlignment = Enum.TextXAlignment.Right
  454.  
  455. TextLabel_5.Parent = Frame
  456. TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  457. TextLabel_5.BackgroundTransparency = 1.000
  458. TextLabel_5.Position = UDim2.new(0.749759793, 0, 0.106382929, 0)
  459. TextLabel_5.Rotation = -2.000
  460. TextLabel_5.Size = UDim2.new(0.242229998, 0, 0.768877447, 0)
  461. TextLabel_5.ZIndex = 3
  462. TextLabel_5.Font = Enum.Font.SourceSansBold
  463. TextLabel_5.Text = "By MadnessMyth"
  464. TextLabel_5.TextColor3 = Color3.fromRGB(0, 0, 0)
  465. TextLabel_5.TextScaled = true
  466. TextLabel_5.TextSize = 14.000
  467. TextLabel_5.TextTransparency = 0.500
  468. TextLabel_5.TextWrapped = true
  469. TextLabel_5.TextXAlignment = Enum.TextXAlignment.Right
  470.  
  471. local worldmodel = Instance.new("WorldModel", ViewportFrame)
  472. local distance = 7
  473.  
  474. local character = game:GetService('Players').LocalPlayer.Character
  475. character.Archivable = true
  476. local clone = character:Clone()
  477. character.Archivable = false
  478. for i,v in pairs(clone:GetDescendants()) do
  479. if v.ClassName:lower():find("script") then
  480. v:Destroy()
  481. end
  482. end
  483. clone.Parent = worldmodel
  484. clone:PivotTo(CFrame.new(Vector3.new(0, 0, 0), Vector3.new(0, 0, distance)))
  485. local hum = clone:WaitForChild("Humanoid")
  486.  
  487. local function stopallanim()
  488. for i,v in pairs(hum:GetPlayingAnimationTracks()) do
  489. v:Stop()
  490. v:Destroy()
  491. end
  492. end
  493.  
  494. local function getnumbers(x)
  495. local n = ""
  496.  
  497. for i=1,#x do
  498. local l = x:sub(i, i)
  499. if tostring(tonumber(l)) == l then
  500. n = n .. l
  501. end
  502. end
  503.  
  504. return tonumber(n)
  505. end
  506.  
  507. local function playanimid(id, chum)
  508. local a = Instance.new("Animation")
  509. a.AnimationId = "rbxassetid://"..getnumbers(tostring(id))
  510. local v = (chum or hum):LoadAnimation(a)
  511. v.Looped = true
  512.  
  513. v:Play()
  514. v.Destroying:Once(function()
  515. a:Destroy()
  516. end)
  517.  
  518. return v
  519. end
  520.  
  521. local camera = Instance.new("Camera", ViewportFrame)
  522. ViewportFrame.CurrentCamera = camera
  523. ViewportFrame.ZIndex = 8
  524.  
  525. camera.CFrame = CFrame.new(
  526. Vector3.new(0, 0, distance), Vector3.new(0, 0, 0)
  527. )
  528.  
  529. local uis = game:GetService("UserInputService")
  530.  
  531. local padding = 3
  532. local cursor = Instance.new("Frame", ScreenGui)
  533. cursor.ZIndex = 100
  534. cursor.Active = false
  535. cursor.Size = UDim2.fromOffset(8, 8)
  536. cursor.AnchorPoint = Vector2.new(1, 1) * 0.5
  537.  
  538. local b2 = game:GetService("RunService").Heartbeat:Connect(function(d)
  539. local p = uis:GetMouseLocation()
  540. cursor.Position = UDim2.fromOffset(p.X, p.Y)
  541.  
  542. -- stop the character from going off screen
  543. --local cp = Vector3.new(0, 0, distance)
  544. --for i,v in pairs(clone:GetDescendants()) do
  545. -- if v:IsA("Part") and v.Transparency == 1 then
  546. -- local p = v.Position + Vector3.new(0, 0, padding)
  547.  
  548. -- if math.max(p.Z, p.Y, p.Z) > cp.Z then
  549. -- cp = Vector3.new(0, 0, math.max(p.Z, p.Y, p.Z))
  550. -- end
  551. -- end
  552. --end
  553. local diff = CFrame.new(clone:GetPivot().Position + Vector3.new(0, 1, distance), Vector3.new(0, 0, 0))
  554.  
  555. local v= Vector3.new(0, 1, distance)
  556. local l = CFrame.new(v + Vector3.new(0, 0, (v - diff.Position).Magnitude), Vector3.new(0, 0, 0))
  557. camera.CFrame = camera.CFrame:Lerp(l, math.clamp(d*4, 0, 1))
  558. end)
  559.  
  560. local b = Frame.InputBegan:Connect(function(i)
  561. if i.KeyCode == Enum.KeyCode.X then
  562. ScreenGui:Destroy()
  563. --uis.MouseBehavior = Enum.MouseBehavior.LockCenter
  564. end
  565. end)
  566.  
  567. local us = game:GetService("UserInputService")
  568.  
  569. us.InputBegan:Connect(function(key)
  570. if key.KeyCode == Enum.KeyCode.R then
  571. ScreenGui.Enabled = not ScreenGui.Enabled
  572. end
  573. end)
  574.  
  575.  
  576. local function makebutton()
  577. -- Gui to Lua
  578. -- Version: 3.2
  579.  
  580. -- Instances:
  581.  
  582. task.wait()
  583. local TextButton = Instance.new("TextButton")
  584.  
  585. --Properties:
  586.  
  587. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  588. TextButton.BackgroundTransparency = 0.800
  589. TextButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  590. TextButton.Size = UDim2.new(0.5, 0, 0, 24)
  591. TextButton.Font = Enum.Font.SourceSans
  592. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  593. TextButton.TextScaled = true
  594. TextButton.TextSize = 14.000
  595. TextButton.TextWrapped = true
  596. TextButton.RichText = true
  597.  
  598. TextButton.Changed:Connect(function(v)
  599. if v == "Text" then
  600. for i=1,3 do
  601. task.wait()
  602. end
  603. TextButton.AutomaticSize = Enum.AutomaticSize.X
  604. task.wait()
  605.  
  606. if TextButton.Parent == nil then
  607. pcall(function()
  608. TextButton:Destroy()
  609. end)
  610. return
  611. end
  612.  
  613. local Size = TextButton.AbsoluteSize
  614. TextButton.AutomaticSize = Enum.AutomaticSize.None
  615. TextButton.Size = UDim2.new(Size.X / TextButton.Parent.AbsoluteSize.X, 0, 0, 24)
  616. end
  617. end)
  618.  
  619. Instance.new("UICorner", TextButton)
  620.  
  621. local uistroke = Instance.new("UIStroke", TextButton)
  622. uistroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  623. uistroke.LineJoinMode = Enum.LineJoinMode.Round
  624. uistroke.Thickness = 2
  625. uistroke.Transparency = 0
  626. uistroke.Color = Color3.fromRGB(255, 255, 255)
  627.  
  628. local x = Instance.new("UIPadding", TextButton)
  629. x.PaddingLeft = UDim.new(0, 6)
  630. x.PaddingRight = UDim.new(0, 6)
  631.  
  632. return TextButton
  633. end
  634.  
  635. local function makelistitem()
  636. -- Gui to Lua
  637. -- Version: 3.2
  638.  
  639. -- Instances:
  640.  
  641. local Frame = Instance.new("Frame")
  642.  
  643. --Properties:
  644.  
  645. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  646. Frame.BackgroundTransparency = 1
  647. Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  648. Frame.Size = UDim2.new(1, 0, 0, 24)
  649. Frame.AutomaticSize = Enum.AutomaticSize.Y
  650.  
  651. local TextButton = Instance.new("TextButton")
  652.  
  653. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  654. TextButton.BackgroundTransparency = 0.8
  655. TextButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  656. TextButton.Size = UDim2.new(1, 0, 0, 24)
  657. TextButton.Font = Enum.Font.SourceSans
  658. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  659. TextButton.TextScaled = true
  660. TextButton.TextWrapped = true
  661. TextButton.Parent = Frame
  662.  
  663. local Scroll = Instance.new("Frame", Frame)
  664. local layout = Instance.new("UIListLayout", Scroll)
  665. layout.Padding = UDim.new(0, 2)
  666. layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  667.  
  668. Scroll.Size = UDim2.fromScale(1, 0)
  669. Scroll.AutomaticSize = Enum.AutomaticSize.Y
  670. Scroll.Position = UDim2.new(0, 0, 0, 24)
  671. Scroll.Name = "List"
  672. Scroll.BackgroundTransparency = 1
  673.  
  674. return Frame
  675. end
  676.  
  677. --warn("319-3891203euyhj89ewrhfjsdrugfvnd")
  678. --local function makelist(name, data)
  679. -- local list = makelistitem()
  680. -- list.TextButton.Text = name
  681.  
  682. -- print(name)
  683.  
  684. -- for i,v in pairs(data) do
  685. -- print(v, v.ClassName)
  686.  
  687. -- if not v:IsA('StringValue') then
  688. -- continue
  689. -- end
  690.  
  691. -- warn(v.Value)
  692.  
  693. -- local id = v.Value
  694. -- local n = v.Name
  695.  
  696. -- local button = makebutton()
  697. -- button.Text = n .. " / " .. tostring(id)
  698.  
  699. -- button.Visible = false
  700. -- button.Parent = list.List
  701. -- button.Size = UDim2.new(0.5, 0, 0, 22)
  702. -- button.Position = UDim2.fromScale(0.5, 0)
  703. -- button.AnchorPoint = Vector2.new(0.5, 0)
  704.  
  705. -- button.Activated:Connect(function()
  706. -- stopallanim()
  707. -- playanimid(id)
  708. -- TextLabel.Text = id
  709. -- end)
  710.  
  711. -- list.TextButton.Activated:Connect(function()
  712. -- button.Visible = not button.Visible
  713. -- end)
  714. -- end
  715.  
  716. -- return list
  717. --end
  718.  
  719. --for i,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
  720. -- if v:IsA"Animation" then
  721. -- local parent1 = v.Parent
  722. -- local parent2 = parent1.Parent
  723. -- local parent3 = parent2.Parent
  724.  
  725. -- print(v)
  726. -- print(parent1, parent2, parent3)
  727. -- break
  728. -- end
  729. --end
  730.  
  731. local actiontree = Instance.new("ScrollingFrame", ViewportFrame)
  732. actiontree.Visible = false
  733. actiontree.Size = UDim2.fromScale(1, 1)
  734. actiontree.BackgroundTransparency = 1
  735.  
  736. local list = Instance.new("UIListLayout", actiontree)
  737. list.Padding = UDim.new(0, 8)
  738. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  739.  
  740. Search:GetPropertyChangedSignal("Text"):Connect(function()
  741. if Search.Text == "" then
  742. for i,v in pairs(ScrollingFrame:GetDescendants()) do
  743. if v:IsA("TextButton") then
  744. v.Visible = true
  745. end
  746. end
  747. else
  748. --for i,v in pairs(actiontree:GetChildren()) do
  749. -- v.Visible = (not not (v.Name:lower():find(Search.Name:lower()))) or v.Name == tostring(Search.Text)
  750. --end
  751.  
  752. for i,v in pairs(ScrollingFrame:GetDescendants()) do
  753. if v:IsA("TextButton") then
  754. v.Visible = (not not (v.Text:lower():find(Search.Text:lower()))) or v.Name == tostring(Search.Text)
  755. end
  756. end
  757. end
  758. end)
  759.  
  760. local function x(t)
  761. TextLabel_3.Text = t
  762. TextLabel_2.Text = t
  763. end
  764.  
  765. local function h(f)
  766. f.Size = UDim2.fromScale(1, 0)
  767. f.AutomaticSize = Enum.AutomaticSize.Y
  768. f.BackgroundTransparency = 1
  769. end
  770.  
  771. x("Action animations")
  772.  
  773. local Actions = Instance.new("Frame", ScrollingFrame)
  774. h(Actions)
  775. local list = Instance.new("UIListLayout", Actions)
  776. list.Padding = UDim.new(0, 8)
  777. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  778. list.SortOrder = Enum.SortOrder.LayoutOrder
  779.  
  780. local BattleFeedback = Instance.new("Frame", ScrollingFrame)
  781. BattleFeedback.Visible = false
  782. local list = Instance.new("UIListLayout", BattleFeedback)
  783. list.Padding = UDim.new(0, 8)
  784. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  785.  
  786. h(BattleFeedback)
  787.  
  788. local Gestures = Instance.new("Frame", ScrollingFrame)
  789. Gestures.Visible = false
  790. local list = Instance.new("UIListLayout", Gestures)
  791. list.Padding = UDim.new(0, 8)
  792. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  793.  
  794. h(Gestures)
  795.  
  796. local StyleAnimations = Instance.new("Frame", ScrollingFrame)
  797. StyleAnimations.Visible = false
  798. local list = Instance.new("UIListLayout", StyleAnimations)
  799. list.Padding = UDim.new(0, 8)
  800. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  801.  
  802. h(StyleAnimations)
  803.  
  804. local Sounds = Instance.new("Frame", ScrollingFrame)
  805. Sounds.Visible = false
  806. local list = Instance.new("UIListLayout", Sounds)
  807. list.Padding = UDim.new(0, 8)
  808. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  809.  
  810. h(Sounds)
  811.  
  812. local Bots = Instance.new("Frame", ScrollingFrame)
  813. Bots.Visible = false
  814. local list = Instance.new("UIListLayout", Bots)
  815. list.Padding = UDim.new(0, 8)
  816. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  817.  
  818. h(Bots)
  819.  
  820. local Bots2 = Instance.new("Frame", ScrollingFrame)
  821. Bots2.Visible = false
  822. local list = Instance.new("UIListLayout", Bots2)
  823. list.Padding = UDim.new(0, 8)
  824. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  825.  
  826. h(Bots2)
  827.  
  828. local DungeonViewer = Instance.new("Frame", ScrollingFrame)
  829. DungeonViewer.Visible = false
  830. local list = Instance.new("UIListLayout", DungeonViewer)
  831. list.Padding = UDim.new(0, 8)
  832. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  833.  
  834. h(DungeonViewer)
  835.  
  836. local Prompts = Instance.new("Frame", ScrollingFrame)
  837. Prompts.Visible = false
  838. local list = Instance.new("UIListLayout", Prompts)
  839. list.Padding = UDim.new(0, 8)
  840. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  841.  
  842. h(Prompts)
  843.  
  844. local Styles = Instance.new("Frame", ScrollingFrame)
  845. Styles.Visible = false
  846. local list = Instance.new("UIListLayout", Styles)
  847. list.Padding = UDim.new(0, 8)
  848. list.HorizontalAlignment = Enum.HorizontalAlignment.Center
  849.  
  850. h(Styles)
  851.  
  852. local function clear()
  853. for i,v in pairs(ScrollingFrame:GetChildren()) do
  854. if v:IsA("Frame") then
  855. v.Visible = false
  856. end
  857. end
  858. end
  859.  
  860. local b4 = uis.InputBegan:Connect(function(i, g)
  861. if uis:GetFocusedTextBox() then
  862. return
  863. end
  864.  
  865. if not ScreenGui.Enabled then
  866. return
  867. end
  868.  
  869. if i.KeyCode == Enum.KeyCode.One then
  870.  
  871. clear()
  872.  
  873. Actions.Visible = true
  874. x("Action animations")
  875. elseif i.KeyCode == Enum.KeyCode.Two then
  876. clear()
  877.  
  878. BattleFeedback.Visible = true
  879. x("Battle feedback animations")
  880. elseif i.KeyCode == Enum.KeyCode.Three then
  881. clear()
  882.  
  883. Gestures.Visible = true
  884. x("Gesture animations")
  885. elseif i.KeyCode == Enum.KeyCode.Four then
  886. clear()
  887.  
  888. StyleAnimations.Visible = true
  889. x("Style animations")
  890. elseif i.KeyCode == Enum.KeyCode.Five then
  891. clear()
  892.  
  893. Sounds.Visible = true
  894. x("Sound effects")
  895. elseif i.KeyCode == Enum.KeyCode.Six then
  896. clear()
  897.  
  898. Bots.Visible = true
  899. x("Unplayed battles")
  900. elseif i.KeyCode == Enum.KeyCode.Seven then
  901. clear()
  902.  
  903. Bots2.Visible = true
  904. x("Ongoing battles")
  905. elseif i.KeyCode == Enum.KeyCode.Eight then
  906. clear()
  907.  
  908. DungeonViewer.Visible = true
  909. x("Dungeons")
  910. elseif i.KeyCode == Enum.KeyCode.Nine then
  911. clear()
  912.  
  913. Prompts.Visible = true
  914. x("Prompt")
  915. elseif i.KeyCode == Enum.KeyCode.Zero then
  916. clear()
  917.  
  918. Styles.Visible = true
  919. x("Styles")
  920. end
  921. end)
  922.  
  923. local function get_battlestarter(bot)
  924. local z = bot:WaitForChild("MyArena", 5)
  925.  
  926. if (not z or not z.Value) or not z.Value:FindFirstChild("BattleStarter") then
  927. return nil
  928. end
  929.  
  930. local MyArena = z.Value
  931. local BattleStarter = MyArena.BattleStarter.Value
  932.  
  933. return BattleStarter
  934. end
  935.  
  936. local function CanJoinPlayer(Player)
  937. local self = game.Players.LocalPlayer
  938.  
  939. local PartyUsers = Player.Status.Parties:GetChildren()
  940.  
  941. for i,v in pairs(PartyUsers) do
  942. if v.Name == Player.Name then
  943. return true
  944. end
  945. end
  946.  
  947. return not Player.Status.Settings.PreventJoin.Value
  948. end
  949.  
  950. local function LVL(Player)
  951. local status = Player.Status
  952.  
  953. if status.Resets.Value ~= 0 then
  954. return 100
  955. end
  956.  
  957. return status.Level.Value
  958. end
  959.  
  960. local function handle_ongoingbattles(button, bot)
  961. button.Visible = false
  962. local BattleStarter = get_battlestarter(bot)
  963.  
  964. if not BattleStarter then
  965. button:Destroy()
  966. return
  967. else
  968. button.Visible = true
  969. end
  970.  
  971. local Status = BattleStarter.Status
  972. local Settings = Status.Settings
  973.  
  974. if not CanJoinPlayer(BattleStarter) then
  975. button.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  976. button.BackgroundTransparency = 0.5
  977. end
  978.  
  979. local function update()
  980. if not CanJoinPlayer(BattleStarter) then
  981. button.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  982. button.BackgroundTransparency = 0.5
  983. else
  984. button.BackgroundColor3 = Color3.new(1, 1, 1)
  985. button.BackgroundTransparency = 0.8
  986. end
  987. end
  988.  
  989. local b1 = Status.Parties.ChildAdded:Connect(update)
  990. local b2 = Status.Parties.ChildRemoved:Connect(update)
  991.  
  992. local b3 = Settings.PreventJoin.Changed:Connect(update)
  993.  
  994. button.Destroying:Once(function()
  995. b1:Disconnect()
  996. b2:Disconnect()
  997. b3:Disconnect()
  998. end)
  999. end
  1000.  
  1001. local function bot_added(v)
  1002. local button = makebutton()
  1003.  
  1004. button.Text = v.Name
  1005. button.Name = v.Name
  1006. button.Parent = Bots
  1007.  
  1008. button.InputBegan:Connect(function(i)
  1009. if i.UserInputType == Enum.UserInputType.MouseButton2 or i.UserInputType == Enum.UserInputType.MouseButton1 then
  1010. local oldpivot = character:GetPivot()
  1011. character:PivotTo(v:GetPivot())
  1012. if not v:FindFirstChild"InBattle" then
  1013. task.wait()
  1014. character:PivotTo(oldpivot)
  1015. end
  1016. end
  1017. end)
  1018.  
  1019. if v:FindFirstChild("InBattle") and button.Parent ~= nil then
  1020. button.Parent = Bots2
  1021.  
  1022. if get_battlestarter(v) then
  1023. button.Text = v.Name .. " Begun by "..get_battlestarter(v).DisplayName.." LV "..LVL(get_battlestarter(v)).." AT "..get_battlestarter(v).Status.Location.Value
  1024. end
  1025. handle_ongoingbattles(button, v)
  1026. else
  1027. v.ChildAdded:Connect(function(newinstance)
  1028. if newinstance.Name == "InBattle" then
  1029. button.Parent = Bots2
  1030.  
  1031. if get_battlestarter(v) then
  1032. button.Text = v.Name .. " Begun by "..get_battlestarter(v).DisplayName.." LV "..LVL(get_battlestarter(v)).." AT "..get_battlestarter(v).Status.Location.Value
  1033. end
  1034. handle_ongoingbattles(button, v)
  1035. end
  1036. end)
  1037. end
  1038.  
  1039. v.Destroying:Once(function()
  1040. button:Destroy()
  1041. end)
  1042. end
  1043.  
  1044. local b6
  1045. task.spawn(function()
  1046. b6 = game:GetService("RunService").Heartbeat:Connect(function()
  1047. local same_category = {
  1048. Bots2 = {
  1049.  
  1050. },
  1051.  
  1052. Bots = {
  1053.  
  1054. }
  1055. }
  1056.  
  1057. local function add(self, x)
  1058. if not self[x.Name] then
  1059. self[x.Name] = {}
  1060. else
  1061. table.insert(self[x.Name], x)
  1062. end
  1063. end
  1064.  
  1065. for i,v in pairs(Bots2:GetChildren()) do
  1066. if v:IsA("TextButton") then
  1067. add(same_category.Bots2, v)
  1068. end
  1069. end
  1070.  
  1071. for i,v in pairs(Bots:GetChildren()) do
  1072. if v:IsA("TextButton") then
  1073. add(same_category.Bots, v)
  1074. end
  1075. end
  1076.  
  1077. for i,v in pairs(same_category) do
  1078. for i,v in pairs(v) do
  1079. for i,v in pairs(v) do
  1080. v.Visible = false
  1081. end
  1082.  
  1083. v.Visible = true
  1084. end
  1085. end
  1086. end)
  1087.  
  1088. for i,v in pairs(workspace.Bots.AI:GetChildren()) do
  1089. bot_added(v)
  1090. end
  1091. end)
  1092.  
  1093. local function changestyle(newstyle)
  1094. -- Script generated by SimpleSpy - credits to exx#9394
  1095.  
  1096. local args = {
  1097. [1] = {
  1098. [1] = "changestyle",
  1099. [2] = newstyle
  1100. }
  1101. }
  1102.  
  1103. game:GetService("ReplicatedStorage").Events.ME:FireServer(unpack(args))
  1104. end
  1105.  
  1106. task.spawn(function()
  1107.  
  1108. for i,v in pairs(workspace.Map.MiniQuests:GetChildren()) do
  1109. if v:IsA("Model") then
  1110. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1111.  
  1112. local prompt = v.HumanoidRootPart:FindFirstChild("DungeonPrompt")
  1113.  
  1114. if not prompt then
  1115. continue
  1116. end
  1117.  
  1118. local button = makebutton()
  1119. button.Text = v.Name
  1120. button.Name = v.Name
  1121.  
  1122. button.Parent = Prompts
  1123.  
  1124. button.InputBegan:Connect(function(i)
  1125. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1126. fireproximityprompt(prompt)
  1127. end
  1128. end)
  1129.  
  1130. button.Activated:Connect(function()
  1131. fireproximityprompt(prompt)
  1132. end)
  1133. end
  1134. end
  1135. end)
  1136.  
  1137. local b5 = workspace.Bots.AI.ChildAdded:Connect(bot_added)
  1138. task.spawn(function()
  1139.  
  1140. for i,v in pairs(workspace.Map.Dungeons:GetChildren()) do
  1141. if v:IsA("Folder") then
  1142. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1143.  
  1144. local button = makebutton()
  1145. button.Text = v.Name
  1146. button.Name = v.Name
  1147.  
  1148. button.Parent = DungeonViewer
  1149.  
  1150. button.InputBegan:Connect(function(i)
  1151. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1152. fireproximityprompt(v.Prompt.DungeonPrompt)
  1153. end
  1154. end)
  1155.  
  1156. button.Activated:Connect(function()
  1157. fireproximityprompt(v.Prompt.DungeonPrompt)
  1158. end)
  1159. end
  1160. end
  1161. end)
  1162. task.spawn(function()
  1163.  
  1164. for i,v in pairs(game:GetService("ReplicatedStorage").Sounds:GetChildren()) do
  1165. if v:IsA("StringValue") then
  1166. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1167.  
  1168. local id = v.Value
  1169.  
  1170. local button = makebutton()
  1171. button.Text = v.Name .. " " .. '<font transparency="0.5">'..tostring(id).."</font>"
  1172. button.Name = id
  1173.  
  1174. button.Parent = Sounds
  1175. --button.Size = UDim2.new(0.5, 0, 0, 22)
  1176. --button.Position = UDim2.fromScale(0.5, 0)
  1177. --button.AnchorPoint = Vector2.new(0.5, 0)
  1178.  
  1179. button.InputBegan:Connect(function(i)
  1180. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1181. game.ReplicatedStorage.ScriptEvents.rplaysound:Fire(v.Name)
  1182. TextLabel.Text = v.Name .. " / "..tostring(id)
  1183. end
  1184. end)
  1185.  
  1186. local sfx = Instance.new("Sound", nil)
  1187.  
  1188. sfx.SoundId = id
  1189.  
  1190. for i,v in pairs(v:GetChildren()) do
  1191. sfx[v.Name] = v.Value
  1192. end
  1193.  
  1194. button.Activated:Connect(function()
  1195. game.SoundService:PlayLocalSound(sfx)
  1196. TextLabel.Text = v.Name .. " / "..tostring(id)
  1197. end)
  1198. end
  1199. end
  1200. end)
  1201. task.spawn(function()
  1202.  
  1203. for i,v in pairs(game:GetService("ReplicatedStorage").BattleFeedback:GetDescendants()) do
  1204. if v:IsA("Animation") then
  1205. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1206.  
  1207. local id = v.AnimationId
  1208. local n = v.Parent.Name
  1209.  
  1210. local button = makebutton()
  1211. button.Text = v.Name .. " " .. '<font transparency="0.5">'..tostring(id).."</font>"
  1212. button.Name = id
  1213.  
  1214. button.Parent = BattleFeedback
  1215. --button.Size = UDim2.new(0.5, 0, 0, 22)
  1216. --button.Position = UDim2.fromScale(0.5, 0)
  1217. --button.AnchorPoint = Vector2.new(0.5, 0)
  1218.  
  1219. button.InputBegan:Connect(function(i)
  1220. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1221. local v = playanimid(id, character.Humanoid)
  1222. v.Looped = false
  1223. end
  1224. end)
  1225.  
  1226. button.Activated:Connect(function()
  1227. stopallanim()
  1228. playanimid(id)
  1229. TextLabel.Text = v.Name .. " / "..tostring(id)
  1230. end)
  1231. end
  1232. end
  1233. end)
  1234. task.spawn(function()
  1235.  
  1236. for i,v in pairs(game:GetService("ReplicatedStorage").Gestures:GetDescendants()) do
  1237. if v:IsA("Animation") then
  1238. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1239.  
  1240. local id = v.AnimationId
  1241. local n = v.Parent.Name
  1242.  
  1243. local button = makebutton()
  1244. button.Text = v.Name .. " " .. '<font transparency="0.5">'..tostring(id).."</font>"
  1245. button.Name = id
  1246.  
  1247. button.Parent = Gestures
  1248. --button.Size = UDim2.new(0.5, 0, 0, 22)
  1249. --button.Position = UDim2.fromScale(0.5, 0)
  1250. --button.AnchorPoint = Vector2.new(0.5, 0)
  1251.  
  1252. button.InputBegan:Connect(function(i)
  1253. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1254. local v = playanimid(id, character.Humanoid)
  1255. v.Looped = false
  1256. end
  1257. end)
  1258.  
  1259. button.Activated:Connect(function()
  1260. stopallanim()
  1261. playanimid(id)
  1262. TextLabel.Text = v.Name .. " / "..tostring(id)
  1263. end)
  1264. end
  1265. end
  1266. end)
  1267.  
  1268. task.spawn(function()
  1269. for i,v in pairs(game:GetService("ReplicatedStorage").Styles:GetDescendants()) do
  1270. if v:IsA("Animation") then
  1271. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1272.  
  1273. local id = v.AnimationId
  1274. local n = v.Parent.Name
  1275.  
  1276. local button = makebutton()
  1277. button.Text = v.Name .. " " .. '<font transparency="0.5">'..tostring(id).."</font>"
  1278. button.Name = id
  1279.  
  1280. button.Parent = StyleAnimations
  1281. --button.Size = UDim2.new(0.5, 0, 0, 22)
  1282. --button.Position = UDim2.fromScale(0.5, 0)
  1283. --button.AnchorPoint = Vector2.new(0.5, 0)
  1284.  
  1285. button.InputBegan:Connect(function(i)
  1286. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1287. local v = playanimid(id, character.Humanoid)
  1288. v.Looped = false
  1289. end
  1290. end)
  1291.  
  1292. button.Activated:Connect(function()
  1293. stopallanim()
  1294. playanimid(id)
  1295. TextLabel.Text = v.Name .. " / "..tostring(id)
  1296. end)
  1297. end
  1298. end
  1299. end)
  1300.  
  1301. -- Gui to Lua
  1302. -- Version: 3.2
  1303.  
  1304. -- Instances:
  1305.  
  1306. local TextBox = Instance.new("TextBox")
  1307.  
  1308. --Properties:
  1309. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1310. TextBox.BackgroundTransparency = 1.000
  1311. TextBox.Size = UDim2.new(1, 0, 0, 32)
  1312. TextBox.ClearTextOnFocus = false
  1313. TextBox.Font = Enum.Font.SourceSansBold
  1314. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  1315. TextBox.TextScaled = true
  1316. TextBox.TextSize = 14.000
  1317. TextBox.TextWrapped = true
  1318. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  1319. TextBox.ZIndex = 12
  1320.  
  1321. -- Gui to Lua
  1322. -- Version: 3.2
  1323.  
  1324. -- Instances:
  1325.  
  1326. local UIListLayout = Instance.new("UIListLayout")
  1327.  
  1328. --Properties:
  1329.  
  1330. ViewportFrame.InputBegan:Connect(function(i)
  1331. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1332. actiontree.Visible = not actiontree.Visible
  1333. end
  1334. end)
  1335.  
  1336. actiontree.Parent = ViewportFrame
  1337. actiontree.ZIndex = 10
  1338. actiontree.Active = true
  1339. actiontree.Visible = false
  1340. actiontree.BackgroundColor3 = Color3.fromRGB(66, 66, 66)
  1341. actiontree.BackgroundTransparency = 0
  1342. actiontree.BorderSizePixel = 2
  1343. actiontree.Size = UDim2.new(1, 0, 1, 0)
  1344. actiontree.CanvasSize = UDim2.new(0, 0, 0, 0)
  1345. actiontree.HorizontalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  1346. actiontree.VerticalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  1347. actiontree.AutomaticCanvasSize = Enum.AutomaticSize.Y
  1348.  
  1349. UIListLayout.Parent = actiontree
  1350. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1351.  
  1352. local tooltip = Instance.new("TextLabel", ScreenGui)
  1353. tooltip.BackgroundTransparency = 0.75
  1354. tooltip.BackgroundColor3 = Color3.new(0, 0, 0)
  1355. tooltip.TextColor3 = Color3.new(1,1,1)
  1356. tooltip.TextStrokeTransparency = 1
  1357. tooltip.TextScaled = true
  1358. tooltip.Size = UDim2.fromScale(0.2, 0.2)
  1359. tooltip.ZIndex = 360
  1360. tooltip.Visible = false
  1361.  
  1362. local ti = TweenInfo.new(0.3, Enum.EasingStyle.Quad)
  1363. local fadeout = ts:Create(tooltip, ti, {TextTransparency = 1, BackgroundTransparency = 1})
  1364. local fadein = ts:Create(tooltip, ti, {TextTransparency = 0, BackgroundTransparency = 0.75})
  1365.  
  1366. Instance.new("UIAspectRatioConstraint", tooltip).AspectRatio = 6
  1367.  
  1368. local function create_tab(v, Func, ...)
  1369.  
  1370. local Title = v.Name
  1371. -- Gui to Lua
  1372. -- Version: 3.2
  1373.  
  1374. -- Instances:
  1375.  
  1376. local Frame = Instance.new("Frame")
  1377. local TextBox = Instance.new("TextBox")
  1378. local Items = Instance.new("Frame")
  1379. local UIListLayout = Instance.new("UIListLayout")
  1380. local TextBox_2 = Instance.new("TextBox")
  1381. local TextButton = Instance.new("TextButton")
  1382. local UICorner = Instance.new("UICorner")
  1383. local UIPadding = Instance.new("UIPadding")
  1384. local UIPadding_2 = Instance.new("UIPadding")
  1385.  
  1386. --Properties:
  1387.  
  1388. Frame.ZIndex = 300
  1389. Frame.Size = UDim2.new(1, 0, 0, 32)
  1390. Frame.BackgroundTransparency = 1
  1391. Frame.AutomaticSize = Enum.AutomaticSize.Y
  1392.  
  1393. TextBox.Parent = Frame
  1394. TextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  1395. TextBox.BackgroundTransparency = 0.8
  1396. TextBox.Size = UDim2.new(1, 0, 0, 32)
  1397. TextBox.ClearTextOnFocus = false
  1398. TextBox.Font = Enum.Font.SourceSansBold
  1399. TextBox.Text = Title
  1400. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  1401. TextBox.TextSize = 32.000
  1402. TextBox.TextWrapped = true
  1403. TextBox.TextEditable = true
  1404. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  1405. TextBox.TextYAlignment = Enum.TextYAlignment.Center
  1406. TextBox.ZIndex = 300
  1407.  
  1408. TextBox.FocusLost:Connect(function()
  1409. pcall(function()
  1410. v.Name = TextBox.Text
  1411. end)
  1412.  
  1413. TextBox.Text = v.Name
  1414. end)
  1415.  
  1416. TextBox.MouseEnter:Connect(function()
  1417. tooltip.Visible = true
  1418.  
  1419. task.wait()
  1420. fadein:Play()
  1421.  
  1422. tooltip.Text = TooltipData[Title]
  1423. tooltip.Name = Title
  1424. end)
  1425.  
  1426. TextBox.MouseLeave:Connect(function()
  1427. fadeout:Play()
  1428. end)
  1429. Instance.new("UICorner", TextBox)
  1430.  
  1431. Items.Name = "Items"
  1432. Items.Parent = nil
  1433. Items.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  1434. Items.BackgroundTransparency = 1
  1435. Items.Position = UDim2.new(0, 12, 0, 32)
  1436. Items.Size = UDim2.new(1, -12, 0, 0)
  1437. Items.ZIndex = 300
  1438. Items.Visible = false
  1439.  
  1440. UIListLayout.Parent = Items
  1441. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1442.  
  1443. TextButton.Parent = Frame
  1444. TextButton.AnchorPoint = Vector2.new(1, 0)
  1445. TextButton.BackgroundColor3 = Color3.fromRGB(113, 107, 124)
  1446. TextButton.Position = UDim2.new(1, -12, 0, 4)
  1447. TextButton.Size = UDim2.new(0.300000012, 0, 0, 32-8)
  1448. TextButton.Font = Enum.Font.ArialBold
  1449. TextButton.Text = "OPEN"
  1450. TextButton.TextColor3 = Color3.fromRGB(231, 231, 231)
  1451. TextButton.TextScaled = true
  1452. TextButton.TextSize = 14.000
  1453. TextButton.TextStrokeTransparency = 0.000
  1454. TextButton.TextWrapped = true
  1455. TextButton.ZIndex = 300
  1456.  
  1457. Frame.Destroying:Once(function()
  1458. Items:Destroy()
  1459. end)
  1460.  
  1461. TextButton.Activated:Connect(function()
  1462. --local success = false
  1463. --for i,v in pairs(Items:GetChildren()) do
  1464. -- if v:IsA("TextBox") then
  1465. -- success = true
  1466. -- break
  1467. -- end
  1468. --end
  1469.  
  1470. --if not success then
  1471. -- return
  1472. --end
  1473.  
  1474. if Items.Visible then
  1475. Items.Parent = nil
  1476. Items.Visible = false
  1477.  
  1478. TextButton.Text = "OPEN"
  1479. else
  1480. Items.Parent = Frame
  1481. Items.Visible = true
  1482.  
  1483. local y = 0
  1484. for i,v in pairs(Items:GetChildren()) do
  1485. if v:IsA("TextBox") then
  1486. y = y + v.AbsoluteSize.Y
  1487. end
  1488. end
  1489.  
  1490. Items.Size = UDim2.new(1, -12, 0, y)
  1491.  
  1492. TextButton.Text = "CLOSE"
  1493. end
  1494. end)
  1495.  
  1496. UICorner.Parent = TextButton
  1497.  
  1498. UIPadding.Parent = TextButton
  1499. UIPadding.PaddingTop = UDim.new(0, 4)
  1500.  
  1501. UIPadding_2.Parent = TextBox
  1502. UIPadding_2.PaddingRight = UDim.new(0.200000003, 0)
  1503.  
  1504. if Func then
  1505. local x = Func(TextButton, ...)
  1506. local poffset_scale = 0
  1507. local poffset_offset = 0
  1508. for i,x in pairs(x) do
  1509. x.Position = UDim2.new(1 - x.Size.X.Scale + poffset_scale, -12 - (x.Size.X.Offset + (4+poffset_offset)), 0, 4)
  1510. x.Parent = TextButton.Parent
  1511. poffset_scale = poffset_scale - x.Size.X.Scale
  1512. poffset_offset = poffset_offset + 4
  1513. end
  1514. end
  1515.  
  1516. return Frame, Items
  1517. end
  1518.  
  1519. local label = Instance.new("TextLabel", ViewportFrame)
  1520.  
  1521. label.Visible = false
  1522. label.Size = UDim2.fromScale(1, 0.15)
  1523. label.Position = UDim2.fromScale(0.5, 0.5)
  1524. label.AnchorPoint = Vector2.new(0.5, 0.5)
  1525. label.Text = "Right click to view heat action stats"
  1526. label.BackgroundTransparency = 1
  1527. label.TextScaled = true
  1528. label.ZIndex = ViewportFrame.ZIndex + 1
  1529. label.TextColor3 = Color3.new(1, 1, 1)
  1530.  
  1531. Actions:GetPropertyChangedSignal("Visible"):Connect(function()
  1532. if not Actions.Visible then
  1533. actiontree.Visible = false
  1534. label.Text = ""
  1535. else
  1536. label.Text = "Right click to view heat action stats"
  1537. end
  1538. end)
  1539.  
  1540. ViewportFrame.MouseEnter:Connect(function()
  1541. label.Visible = true
  1542. end)
  1543.  
  1544. ViewportFrame.MouseLeave:Connect(function()
  1545. label.Visible = false
  1546. end)
  1547.  
  1548. --task.spawn(function()
  1549. -- for i,v in pairs(game:GetService("ReplicatedStorage").Moves:GetDescendants()) do
  1550. -- if v:IsA("Animation") then
  1551. -- --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  1552.  
  1553. -- local id = v.AnimationId
  1554. -- local n = v.Parent.Name
  1555.  
  1556. -- local button = makebutton()
  1557. -- button.Text = n .. " " .. '<font transparency="0.5">'..tostring(id).."</font>"
  1558. -- button.Name = id
  1559.  
  1560. -- --<font transparency="0.5">50% transparency</font>
  1561.  
  1562. -- button.Parent = Actions
  1563. -- --button.Size = UDim2.new(0.5, 0, 0, 22)
  1564. -- --button.Position = UDim2.fromScale(0.5, 0)
  1565. -- --button.AnchorPoint = Vector2.new(0.5, 0)
  1566.  
  1567. -- button.InputBegan:Connect(function(i)
  1568. -- if i.UserInputType == Enum.UserInputType.MouseButton2 then
  1569. -- local v = playanimid(id, character.Humanoid)
  1570. -- v.Looped = false
  1571. -- end
  1572. -- end)
  1573.  
  1574. -- button.Activated:Connect(function()
  1575. -- stopallanim()
  1576. -- playanimid(id)
  1577.  
  1578. -- TextLabel.Text = n .. " / "..tostring(id)
  1579.  
  1580. -- for i,v in pairs(ScrollingFrame:GetChildren()) do
  1581. -- if not v:IsA"UIListLayout" then
  1582. -- v:Destroy()
  1583. -- end
  1584. -- end
  1585.  
  1586. -- local data = {
  1587. -- value = "Value",
  1588. -- animation = "AnimationId",
  1589. -- }
  1590.  
  1591. -- local function iterate(v, p)
  1592. -- for i,v in pairs(v:GetChildren()) do
  1593. -- if #v:GetChildren() > 0 then
  1594. -- local t, items = create_tab(v.Name)
  1595. -- t.Parent = p or ScrollingFrame
  1596.  
  1597. -- iterate(v, items)
  1598. -- elseif v:IsA("Folder") then
  1599. -- local box = TextBox:Clone()
  1600. -- box.Parent = p or ScrollingFrame
  1601. -- box.Text = " * "..v.Name
  1602. -- else
  1603. -- local box = TextBox:Clone()
  1604. -- box.Parent = p or ScrollingFrame
  1605. -- box.Text = v.Name
  1606.  
  1607. -- for indpairs(ex,p) in data do
  1608. -- if v.ClassName:lower():find(index) then
  1609. -- box.Text = v.Name ..": "..v[p]
  1610. -- end
  1611. -- end
  1612. -- end
  1613. -- end
  1614. -- end
  1615.  
  1616. -- iterate(v.Parent)
  1617. -- end)
  1618. -- end
  1619. -- end
  1620. --end)
  1621.  
  1622. -- Gui to Lua
  1623. -- Version: 3.2
  1624.  
  1625. -- Instances:
  1626.  
  1627. local Frame2 = Instance.new("Frame")
  1628. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  1629. local Shadow = Instance.new("ImageLabel")
  1630. local Title = Instance.new("TextLabel")
  1631. local UIPadding = Instance.new("UIPadding")
  1632. local TextLabel = Instance.new("TextLabel")
  1633. local UIPadding_2 = Instance.new("UIPadding")
  1634. local Class = Instance.new("TextBox")
  1635. local UIPadding_3 = Instance.new("UIPadding")
  1636. local OK = Instance.new("TextButton")
  1637. local Cancel = Instance.new("TextButton")
  1638. local X = Instance.new("ImageButton")
  1639. local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
  1640.  
  1641. --Properties:
  1642.  
  1643. Frame2.Parent = ScreenGui
  1644. Frame2.AnchorPoint = Vector2.new(0.5, 0.5)
  1645. Frame2.BackgroundColor3 = Color3.fromRGB(229, 229, 229)
  1646. Frame2.BorderSizePixel = 0
  1647. Frame2.Position = UDim2.new(0.5, 0, 0.5, 0)
  1648. Frame2.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  1649. Frame2.ZIndex = 400
  1650. Frame2.Visible = false
  1651.  
  1652. UIAspectRatioConstraint.Parent = Frame2
  1653. UIAspectRatioConstraint.AspectRatio = 4.000
  1654.  
  1655. Shadow.Name = "Shadow"
  1656. Shadow.Parent = Frame2
  1657. Shadow.AnchorPoint = Vector2.new(0.5, 0.5)
  1658. Shadow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1659. Shadow.BackgroundTransparency = 1.000
  1660. Shadow.Position = UDim2.new(0.5, 0, 0.5, 0)
  1661. Shadow.Size = UDim2.new(1, 16, 1, 16)
  1662. Shadow.ZIndex = 399
  1663. Shadow.Image = "rbxasset://textures/StudioUIEditor/resizeHandleDropShadow.png"
  1664. Shadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  1665. Shadow.ImageTransparency = 0.500
  1666. Shadow.ScaleType = Enum.ScaleType.Slice
  1667. Shadow.SliceCenter = Rect.new(4, 2, 12, 14)
  1668.  
  1669. Title.Name = "Title"
  1670. Title.Parent = Frame2
  1671. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1672. Title.BorderSizePixel = 0
  1673. Title.Size = UDim2.new(1, 0, 0, 24)
  1674. Title.ZIndex = 401
  1675. Title.Font = Enum.Font.Arial
  1676. Title.Text = "Dialog"
  1677. Title.TextColor3 = Color3.fromRGB(0, 0, 0)
  1678. Title.TextSize = 20.000
  1679. Title.TextXAlignment = Enum.TextXAlignment.Left
  1680.  
  1681. UIPadding.Parent = Title
  1682. UIPadding.PaddingBottom = UDim.new(0, 2)
  1683. UIPadding.PaddingLeft = UDim.new(0, 4)
  1684. UIPadding.PaddingTop = UDim.new(0, 2)
  1685.  
  1686. TextLabel.Parent = Frame2
  1687. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1688. TextLabel.BackgroundTransparency = 1.000
  1689. TextLabel.BorderSizePixel = 0
  1690. TextLabel.Position = UDim2.new(0.0400101095, 0, 0.395889521, -2)
  1691. TextLabel.Size = UDim2.new(0.157681853, 0, 0, 24)
  1692. TextLabel.ZIndex = 401
  1693. TextLabel.Font = Enum.Font.Arial
  1694. TextLabel.Text = "Class:"
  1695. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  1696. TextLabel.TextSize = 18.000
  1697. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  1698.  
  1699. UIPadding_2.Parent = TextLabel
  1700. UIPadding_2.PaddingBottom = UDim.new(0, 4)
  1701. UIPadding_2.PaddingLeft = UDim.new(0, 4)
  1702.  
  1703. Class.Name = "Class"
  1704. Class.Parent = Frame2
  1705. Class.Active = false
  1706. Class.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1707. Class.BorderSizePixel = 0
  1708. Class.Position = UDim2.new(0.19794476, 0, 0.395889521, 0)
  1709. Class.Selectable = false
  1710. Class.Size = UDim2.new(0.513561308, 0, 0, 24)
  1711. Class.ZIndex = 401
  1712. Class.ClearTextOnFocus = false
  1713. Class.Font = Enum.Font.Arial
  1714. Class.Text = "Part"
  1715. Class.TextColor3 = Color3.fromRGB(0, 0, 0)
  1716. Class.TextSize = 20.000
  1717. Class.TextXAlignment = Enum.TextXAlignment.Left
  1718.  
  1719. UIPadding_3.Parent = Class
  1720. UIPadding_3.PaddingBottom = UDim.new(0, 2)
  1721. UIPadding_3.PaddingLeft = UDim.new(0, 4)
  1722. UIPadding_3.PaddingTop = UDim.new(0, 2)
  1723.  
  1724. OK.Name = "OK"
  1725. OK.Parent = Frame2
  1726. OK.Active = true
  1727. OK.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1728. OK.BorderSizePixel = 0
  1729. OK.Position = UDim2.new(0.762297869, 0, 0.395889521, -2)
  1730. OK.Selectable = false
  1731. OK.Size = UDim2.new(0.166105032, 0, 0, 24)
  1732. OK.ZIndex = 401
  1733. OK.Font = Enum.Font.Arial
  1734. OK.Text = "OK"
  1735. OK.TextColor3 = Color3.fromRGB(0, 0, 0)
  1736. OK.TextSize = 18.000
  1737.  
  1738. Cancel.Name = "Cancel"
  1739. Cancel.Parent = Frame2
  1740. Cancel.Active = true
  1741. Cancel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1742. Cancel.BorderSizePixel = 0
  1743. Cancel.Position = UDim2.new(0.762000024, 0, 0.690700829, -2)
  1744. Cancel.Selectable = false
  1745. Cancel.Size = UDim2.new(0.166105032, 0, 0, 24)
  1746. Cancel.ZIndex = 401
  1747. Cancel.Font = Enum.Font.Arial
  1748. Cancel.Text = "Cancel"
  1749. Cancel.TextColor3 = Color3.fromRGB(0, 0, 0)
  1750. Cancel.TextSize = 18.000
  1751.  
  1752. X.Name = "X"
  1753. X.Parent = Frame2
  1754. X.Active = true
  1755. X.AnchorPoint = Vector2.new(1, 0)
  1756. X.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1757. X.BackgroundTransparency = 1.000
  1758. X.BorderSizePixel = 0
  1759. X.Position = UDim2.new(1, -6, 0, 6)
  1760. X.Selectable = false
  1761. X.Size = UDim2.new(0.0715970472, 0, 0, 12)
  1762. X.ZIndex = 401
  1763. X.Image = "rbxasset://textures/ui/InspectMenu/x.png"
  1764. X.ImageColor3 = Color3.fromRGB(0, 0, 0)
  1765. X.ScaleType = Enum.ScaleType.Fit
  1766.  
  1767. UIAspectRatioConstraint_2.Parent = X
  1768.  
  1769. -- attributes
  1770.  
  1771. X:SetAttribute("Animation", 'FadeIn')
  1772. Title:SetAttribute("Animation", 'FadeIn')
  1773. Shadow:SetAttribute("Animation", 'FadeIn')
  1774.  
  1775. local function darken(color, strength)
  1776. local h,s,v = color:ToHSV()
  1777.  
  1778. return Color3.fromHSV(h, s, math.clamp(v * (1-strength), 0, 1))
  1779. end
  1780.  
  1781. local function get_screensize()
  1782. return workspace.CurrentCamera.ViewportSize
  1783. end
  1784.  
  1785. local data = {
  1786. FadeIn = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut),
  1787. ComingIn = TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  1788. }
  1789.  
  1790. local animations = {
  1791. FadeOut = function(v:Frame)
  1792. local p = v.Position
  1793. local BGTransparency = v.BackgroundTransparency
  1794. local Color = v.BackgroundColor3
  1795.  
  1796. local propertites = {BackgroundColor3 = darken(v.BackgroundColor3, 0.1), Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale, v.Position.Y.Offset - 8), BackgroundTransparency = 1}
  1797.  
  1798. local j = v.ClassName:lower()
  1799.  
  1800. local extra = {}
  1801.  
  1802. if j:find("text") then
  1803. propertites.TextTransparency = 1
  1804. extra.TextTransparency = v.TextTransparency
  1805. elseif j:find("image") then
  1806. propertites.ImageTransparency = 1
  1807. extra.ImageTransparency = v.ImageTransparency
  1808. end
  1809.  
  1810. local tween = ts:Create(v, data.FadeIn, propertites)
  1811.  
  1812. tween:Play()
  1813.  
  1814. tween.Completed:Once(function()
  1815. v.Visible = false
  1816.  
  1817. for i2,v2 in pairs(extra) do
  1818. v[i2] = v2
  1819. end
  1820.  
  1821. v.Position = p
  1822. v.BackgroundTransparency = BGTransparency
  1823. v.BackgroundColor3 = Color
  1824. end)
  1825.  
  1826. return tween
  1827. end,
  1828.  
  1829. FadeIn = function(v:Frame)
  1830. local p = v.Position
  1831. local BGTransparency = v.BackgroundTransparency
  1832. local Color = v.BackgroundColor3
  1833.  
  1834. v.BackgroundTransparency = 1
  1835. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale, v.Position.Y.Offset - 8)
  1836. v.BackgroundColor3 = darken(v.BackgroundColor3, 0.1)
  1837.  
  1838. local propertites = {BackgroundColor3 = Color, Position = p, BackgroundTransparency = BGTransparency}
  1839.  
  1840. local j = v.ClassName:lower()
  1841.  
  1842. if j:find("text") then
  1843. propertites.TextTransparency = v.TextTransparency
  1844. v.TextTransparency = 1
  1845. elseif j:find("image") then
  1846. propertites.ImageTransparency = v.ImageTransparency
  1847. v.ImageTransparency = 1
  1848. end
  1849.  
  1850. local tween = ts:Create(v, data.FadeIn, propertites)
  1851.  
  1852. tween:Play()
  1853. return tween
  1854. end,
  1855.  
  1856. FromRight = function(v)
  1857. local p = v.Position
  1858. local BGTransparency = v.BackgroundTransparency
  1859.  
  1860. v.BackgroundTransparency = v.BackgroundTransparency + 0.3
  1861. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset + get_screensize().X, v.Position.Y.Scale, v.Position.Y.Offset)
  1862.  
  1863. local tween = ts:Create(v, data.ComingIn, {Position = p, BackgroundTransparency = BGTransparency})
  1864.  
  1865. tween:Play()
  1866. return tween
  1867. end,
  1868.  
  1869. FromLeft = function(v)
  1870. local p = v.Position
  1871. local BGTransparency = v.BackgroundTransparency
  1872.  
  1873. v.BackgroundTransparency = v.BackgroundTransparency + 0.3
  1874. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset - get_screensize().X, v.Position.Y.Scale, v.Position.Y.Offset)
  1875.  
  1876. local tween = ts:Create(v, data.ComingIn, {Position = p, BackgroundTransparency = BGTransparency})
  1877.  
  1878. tween:Play()
  1879. return tween
  1880. end,
  1881.  
  1882. FromUp = function(v)
  1883. local p = v.Position
  1884. local BGTransparency = v.BackgroundTransparency
  1885.  
  1886. v.BackgroundTransparency = v.BackgroundTransparency + 0.3
  1887. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale, v.Position.Y.Offset - get_screensize().Y)
  1888.  
  1889. local tween = ts:Create(v, data.ComingIn, {Position = p, BackgroundTransparency = BGTransparency})
  1890.  
  1891. tween:Play()
  1892. return tween
  1893. end,
  1894.  
  1895. FromDown = function(v)
  1896. local p = v.Position
  1897. local BGTransparency = v.BackgroundTransparency
  1898.  
  1899. v.BackgroundTransparency = v.BackgroundTransparency + 0.3
  1900. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale, v.Position.Y.Offset + get_screensize().Y)
  1901.  
  1902. local tween = ts:Create(v, data.ComingIn, {Position = p, BackgroundTransparency = BGTransparency})
  1903.  
  1904. tween:Play()
  1905. return tween
  1906. end,
  1907. }
  1908.  
  1909. local function playanim(v)
  1910. v.Visible = true
  1911. animations.FadeIn(v)
  1912.  
  1913. local random = {
  1914. "Down",
  1915. "Up",
  1916. "Left",
  1917. "Right"
  1918. }
  1919.  
  1920. local index = 1
  1921.  
  1922. for i,v in pairs(v:GetDescendants()) do
  1923. if v:IsA("GuiObject") then
  1924. local at = v:GetAttribute("Animation")
  1925.  
  1926. index = index + 1
  1927.  
  1928. if index > 4 then
  1929. index = 1
  1930. end
  1931.  
  1932. if at then
  1933. animations[at](v)
  1934. else
  1935. local x = animations["From"..random[index]]
  1936.  
  1937. x(v)
  1938. end
  1939. end
  1940. end
  1941. end
  1942.  
  1943. local function hide()
  1944. if Frame2.Visible then
  1945. --animations.FadeOut(Frame2)
  1946.  
  1947. --for i,v in pairs(Frame2:GetDescendants()) do
  1948. -- if v:IsA("GuiObject") then
  1949. -- animations.FadeOut(v)
  1950. -- end
  1951. --end
  1952.  
  1953. Frame2.Visible = false
  1954. end
  1955. end
  1956.  
  1957. local function show_objectinserter()
  1958. playanim(Frame2)
  1959. Class.Text = "Part"
  1960. end
  1961.  
  1962. local function does_classname_exist(classname)
  1963. local d = Instance.new(classname)
  1964.  
  1965. if d then
  1966. d:Destroy()
  1967. return true
  1968. end
  1969.  
  1970. return false
  1971. end
  1972.  
  1973. local class = Class.Text
  1974. local ObjectToSpawn
  1975. local function enable_instanceadder(Object)
  1976. show_objectinserter()
  1977.  
  1978. ObjectToSpawn = Object
  1979.  
  1980. local c1 = Class:GetPropertyChangedSignal("Text"):Connect(function()
  1981. local successful, result = pcall(function()
  1982. return does_classname_exist(Class.Text)
  1983. end)
  1984.  
  1985. class = Class.Text
  1986.  
  1987. if successful and result then
  1988. Class.TextColor3 = Color3.new(0, 0, 0)
  1989. else
  1990. Class.TextColor3 = Color3.new(255, 0, 0)
  1991. end
  1992. end)
  1993.  
  1994.  
  1995. end
  1996.  
  1997. OK.Activated:Connect(function()
  1998. Instance.new(class, ObjectToSpawn)
  1999. end)
  2000.  
  2001. Cancel.Activated:Connect(hide)
  2002. OK.Activated:Connect(hide)
  2003. X.Activated:Connect(hide)
  2004.  
  2005. fadeout.Completed:Connect(function(p)
  2006. if p == Enum.PlaybackState.Completed then
  2007. tooltip.Visible = false
  2008. end
  2009. end)
  2010.  
  2011. local function modifable_item(Object, Property, ShowProperty)
  2012. -- Gui to Lua
  2013. -- Version: 3.2
  2014.  
  2015. -- Instances:
  2016.  
  2017. local TextBox = Instance.new("TextBox")
  2018. local TextBox_2 = Instance.new("TextBox")
  2019.  
  2020. --Properties:
  2021.  
  2022. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2023. TextBox.BackgroundTransparency = 1.000
  2024. TextBox.Size = UDim2.new(0, 0, 0, 32)
  2025. TextBox.ClearTextOnFocus = false
  2026. TextBox.Font = Enum.Font.SourceSansBold
  2027.  
  2028. TextBox.MouseEnter:Connect(function()
  2029. tooltip.Visible = true
  2030.  
  2031. task.wait()
  2032. fadein:Play()
  2033.  
  2034. tooltip.Text = TooltipData[Object.Name]
  2035. tooltip.Name = Object.Name
  2036. end)
  2037.  
  2038. TextBox.MouseLeave:Connect(function()
  2039. fadeout:Play()
  2040. end)
  2041.  
  2042. if ShowProperty then
  2043. TextBox.Text = Object.Name.."."..Property.." "
  2044.  
  2045. TextBox.Focused:Connect(function()
  2046. TextBox.Text = Object.Name
  2047. end)
  2048.  
  2049. TextBox.FocusLost:Connect(function(e)
  2050. if e then
  2051. Object.Name = TextBox.Text
  2052. end
  2053. TextBox.Text = Object.Name.."."..Property.." "
  2054. end)
  2055. else
  2056. TextBox.Text = Object.Name..": "
  2057.  
  2058. TextBox.Focused:Connect(function()
  2059. TextBox.Text = Object.Name
  2060. end)
  2061.  
  2062. TextBox.FocusLost:Connect(function(e)
  2063. if e then
  2064. Object.Name = TextBox.Text
  2065. end
  2066. TextBox.Text = Object.Name..": "
  2067. end)
  2068. end
  2069.  
  2070. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  2071. TextBox.TextScaled = true
  2072. TextBox.TextSize = 14.000
  2073. TextBox.TextWrapped = true
  2074. TextBox.ZIndex = 300
  2075.  
  2076. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  2077.  
  2078. local function display()
  2079. if typeof(Object[Property]) == 'Color3' then
  2080. local o = Object[Property]
  2081. TextBox_2.Text = math.round(o.R * 255)..", "..math.round(o.G * 255)..", "..math.round(o.B * 255)
  2082. else
  2083. TextBox_2.Text = tostring(Object[Property])
  2084. end
  2085. end
  2086.  
  2087. TextBox_2.Parent = TextBox
  2088. TextBox_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2089. TextBox_2.BackgroundTransparency = 1.000
  2090. TextBox_2.Position = UDim2.new(1, 0, 0, 0)
  2091. TextBox_2.Size = UDim2.new(3, 0, 0, 32)
  2092. TextBox_2.ClearTextOnFocus = false
  2093. TextBox_2.Font = Enum.Font.SourceSans
  2094. TextBox_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  2095. TextBox_2.TextSize = 30.000
  2096. TextBox_2.TextWrapped = true
  2097. TextBox_2.TextXAlignment = Enum.TextXAlignment.Left
  2098. TextBox_2.ZIndex = 300
  2099.  
  2100. TextBox.AutomaticSize = Enum.AutomaticSize.X
  2101. TextBox_2.AutomaticSize = Enum.AutomaticSize.X
  2102.  
  2103. TextBox_2.FocusLost:Connect(function()
  2104. pcall(function()
  2105. if typeof(Object[Property]) == "Color3" then
  2106. local text = TextBox_2.Text
  2107. local spilts = text:split(",")
  2108.  
  2109. for i,v in pairs(spilts) do
  2110. v = v:gsub(" ", "")
  2111. end
  2112.  
  2113. local color = Color3.fromRGB(unpack(spilts))
  2114.  
  2115. Object[Property] = color
  2116. elseif typeof(Object[Property]) == "number" then
  2117. Object[Property] = tonumber(TextBox_2.Text)
  2118. else
  2119. Object[Property] = TextBox_2.Text
  2120. end
  2121. end)
  2122.  
  2123. --TextBox_2.Text = tostring(Object[Property])
  2124. display()
  2125. end)
  2126.  
  2127. display()
  2128.  
  2129. Object:GetPropertyChangedSignal(Property):Connect(display)
  2130.  
  2131. return TextBox
  2132. end
  2133.  
  2134. local globalscale = 0.5
  2135.  
  2136. local function add_button(button, object, scale)
  2137. button.Size = UDim2.new(
  2138. button.Size.X.Scale * (scale or 1) * globalscale,
  2139. button.Size.X.Offset,
  2140. button.Size.Y.Scale,
  2141. button.Size.Y.Offset
  2142. )
  2143.  
  2144. local c = button:Clone()
  2145.  
  2146. c.Text = 'ADD'
  2147. c.Activated:Connect(function()
  2148. enable_instanceadder(object)
  2149. end)
  2150.  
  2151. local c2 = button:Clone()
  2152.  
  2153. c2.Text = 'SAVE'
  2154. c2.Activated:Connect(function()
  2155. sendNotification("Copied to clipboard!")
  2156.  
  2157. -- Compile all styles
  2158.  
  2159. local data = [[]]
  2160.  
  2161. local styles = {
  2162. game.ReplicatedStorage.Styles.Brawler,
  2163. game.ReplicatedStorage.Styles.Rush,
  2164. game.ReplicatedStorage.Styles.Beast
  2165. }
  2166.  
  2167.  
  2168. local tab = [[
  2169.  
  2170. ]]
  2171.  
  2172. local newcode = convert(object)
  2173. data = data .. newcode .. tab
  2174.  
  2175. for i,v in pairs(object:GetDescendants()) do
  2176. local newcode = convert(v)
  2177. data = data .. newcode .. tab
  2178. end
  2179.  
  2180. setclipboard(data)
  2181. end)
  2182.  
  2183. return {c, c2}
  2184. end
  2185.  
  2186. local function tree(v, p, scale)
  2187. local tab, list = create_tab(v, add_button, v, scale)
  2188. tab.Parent = p
  2189. tab.Name = v.Name
  2190.  
  2191. local function iterate(object, parent)
  2192. local function new(v)
  2193. if v.ClassName:lower():find("value") then
  2194. local box = modifable_item(v, "Value")
  2195.  
  2196. box.Name = v.Name
  2197. box.Parent = parent or list
  2198. elseif v.ClassName:lower():find("anim") then
  2199. local box = modifable_item(v, "AnimationId")
  2200.  
  2201. box.Name = v.Name
  2202. box.Parent = parent or list
  2203. else
  2204. if #v:GetChildren() > 0 then
  2205. local tab2, list2 = create_tab(v, add_button, v, scale)
  2206. tab2.Parent = parent or list
  2207. tab2.Name = v.Name
  2208.  
  2209. iterate(v, list2)
  2210. else
  2211. local tab2, list2 = create_tab(v, add_button, v, scale)
  2212. tab2.Parent = parent or list
  2213. tab2.Name = v.Name
  2214.  
  2215. --tab2.BackgroundTransparency = 1
  2216. --list2:Destroy()
  2217. tab2.TextButton.Transparency = 0.5
  2218.  
  2219. object.ChildRemoved:Connect(function()
  2220. if #object:GetChildren() == 0 then
  2221. tab2.TextButton.Transparency = 0.5
  2222. end
  2223. end)
  2224.  
  2225. object.ChildAdded:Connect(function()
  2226. tab2.TextButton.Transparency = 0
  2227. end)
  2228. end
  2229. end
  2230. end
  2231.  
  2232. object.ChildAdded:Connect(new)
  2233.  
  2234. for i,v in pairs(object:GetChildren()) do
  2235. new(v)
  2236. end
  2237. end
  2238.  
  2239. iterate(v)
  2240.  
  2241. return tab
  2242. end
  2243.  
  2244. task.spawn(function()
  2245. for i,v in pairs(game:GetService("ReplicatedStorage").Styles:GetChildren()) do
  2246. if v:IsA("Folder") then
  2247. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  2248. tree(v, Styles)
  2249. end
  2250. end
  2251. end)
  2252.  
  2253. local b7 = game:GetService("RunService").RenderStepped:Connect(function()
  2254. if ScreenGui.Enabled or Frame2.Visible then
  2255. uis.MouseIconEnabled = true
  2256. end
  2257.  
  2258. if tooltip.Visible then
  2259. local msloc = uis:GetMouseLocation()
  2260. tooltip.Position = UDim2.fromOffset(msloc.X, msloc.Y)
  2261. end
  2262. end)
  2263.  
  2264. local x
  2265.  
  2266. task.spawn(function()
  2267. for i,v in pairs(game:GetService("ReplicatedStorage").Moves:GetDescendants()) do
  2268. if v:IsA("Animation") then
  2269. --makelist(v.Name, v:GetChildren()).Parent = ScrollingFrame
  2270.  
  2271. local id = v.AnimationId
  2272. local n = v.Parent.Name
  2273.  
  2274. local button = makebutton()
  2275. button.Text = n .. " " .. '<font transparency="0.5">'..tostring(id).."</font>"
  2276.  
  2277. --<font transparency="0.5">50% transparency</font>
  2278.  
  2279. button.Parent = Actions
  2280.  
  2281. local dmg = 0
  2282.  
  2283. for i,v in pairs(v.Parent:GetDescendants()) do
  2284. if v.Name == "Dmg" then
  2285. dmg = dmg + v.Value
  2286. end
  2287. end
  2288.  
  2289.  
  2290. button.LayoutOrder = -dmg
  2291.  
  2292. --button.Size = UDim2.new(0.5, 0, 0, 22)
  2293. --button.Position = UDim2.fromScale(0.5, 0)
  2294. --button.AnchorPoint = Vector2.new(0.5, 0)
  2295.  
  2296. button.InputBegan:Connect(function(i)
  2297. if i.UserInputType == Enum.UserInputType.MouseButton2 then
  2298. local v = playanimid(id, character.Humanoid)
  2299. v.Looped = false
  2300. end
  2301. end)
  2302.  
  2303. button.Activated:Connect(function()
  2304. stopallanim()
  2305. playanimid(id)
  2306.  
  2307. if x then
  2308. x:Destroy()
  2309. end
  2310.  
  2311. x = tree(v.Parent, actiontree, 0.5)
  2312.  
  2313. TextLabel.Text = n .. " / "..tostring(id)
  2314. end)
  2315. end
  2316. end
  2317. end)
  2318.  
  2319. Frame.Destroying:Once(function()
  2320. b:Disconnect()
  2321. b2:Disconnect()
  2322. b3:Disconnect()
  2323. b4:Disconnect()
  2324. b5:Disconnect()
  2325. b6:Disconnect()
  2326. b7:Disconnect()
  2327. ScreenGui:Destroy()
  2328. for i,v in pairs(ScreenGui:GetDescendants()) do
  2329. pcall(function()
  2330. v:Destroy()
  2331. end)
  2332. end
  2333. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement