Andrew19282_44

Untitled

Apr 10th, 2025
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.02 KB | None | 0 0
  1. -- [[ CREATED BY CUSTOM MOVESETMAKER ]] --
  2. local Players = game:GetService("Players")
  3. local Rep = game:GetService("ReplicatedStorage")
  4. local player = Players.LocalPlayer
  5. local playerGui = player:WaitForChild("PlayerGui")
  6. local character = player.Character or player.CharacterAdded:Wait()
  7. local humanoid = character:WaitForChild("Humanoid")
  8. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  9.  
  10. -- Watermark GUI
  11. local gui1 = Instance.new("ScreenGui", playerGui)
  12. gui1.Name = "gui for watermark"
  13. gui1.ResetOnSpawn = false
  14. local label1 = Instance.new("TextLabel", gui1)
  15. label1.Text = "created On CustomMoveMaker.netlify.app"
  16. label1.Size = UDim2.new(0.3, 0, 0.05, 0)
  17. label1.Position = UDim2.new(0.35, 0, 0, 0)
  18. label1.BackgroundTransparency = 1
  19. label1.TextTransparency = 0.5
  20. label1.TextSize = 13
  21. label1.TextColor3 = Color3.new(1, 1, 1)
  22. coroutine.wrap(function()
  23. while wait(5) do
  24. if not gui1:IsDescendantOf(game) then
  25. gui1:Clone().Parent = playerGui
  26. end
  27. end
  28. end)()
  29.  
  30. -- Credits GUI
  31. local gui2 = Instance.new("ScreenGui", playerGui)
  32. gui2.Name = "WatermarkGui"
  33. gui2.ResetOnSpawn = false
  34. local label2 = Instance.new("TextLabel", gui2)
  35. label2.Text = "Credits by:@redveux Made by:AndrewGaming23_24"
  36. label2.TextColor3 = Color3.new(1, 1, 1)
  37. label2.TextSize = 18
  38. label2.Font = Enum.Font.SourceSansBold
  39. label2.BackgroundTransparency = 1
  40. label2.Position = UDim2.new(0.01, 0, 0.01, 0)
  41. label2.Size = UDim2.new(0, 200, 0, 30)
  42. label2.TextXAlignment = Enum.TextXAlignment.Left
  43.  
  44. -- Rename Hotbar
  45. task.wait(2)
  46. local hotbar = playerGui:FindFirstChild("Hotbar")
  47. if hotbar then
  48. local backpack = hotbar:FindFirstChild("Backpack")
  49. if backpack then
  50. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  51. if hotbarFrame then
  52. if hotbarFrame:FindFirstChild("1") then hotbarFrame["1"].Base.ToolName.Text = "Mario punch" end
  53. if hotbarFrame:FindFirstChild("2") then hotbarFrame["2"].Base.ToolName.Text = "Super beatdown" end
  54. if hotbarFrame:FindFirstChild("3") then hotbarFrame["3"].Base.ToolName.Text = "Koopa kick" end
  55. if hotbarFrame:FindFirstChild("4") then hotbarFrame["4"].Base.ToolName.Text = "Jump stomp" end
  56. end
  57. end
  58. end
  59.  
  60. -- Wait for MagicHealth GUI
  61. while true do
  62. local screenGui = playerGui:FindFirstChild("ScreenGui")
  63. if screenGui and screenGui:FindFirstChild("MagicHealth") and screenGui.MagicHealth:FindFirstChild("TextLabel") then
  64. screenGui.MagicHealth.TextLabel.Text = "?? "
  65. break
  66. end
  67. wait(1)
  68. end
  69.  
  70. -- Animation Replacement Table
  71. local replacementAnimations = {
  72. ["10469493270"] = {id = "13491635433"},
  73. ["10469630950"] = {id = "17889461810"},
  74. ["10469639222"] = {id = "13532604085"},
  75. ["10469643643"] = {id = "13294471966"},
  76. ["17859015788"] = {id = "12684185971"},
  77. ["11365563255"] = {id = "14516273501"},
  78. ["13376869471"] = {id = "18896127525"},
  79. ["10466974800"] = {id = "14046756619"},
  80. ["10471336737"] = {id = "100558589307006"},
  81. ["12510170988"] = {id = "13497875049"},
  82. }
  83.  
  84. local animationQueue = {}
  85. local isAnimating = false
  86.  
  87. local function playAnimation(animData)
  88. if not animData then return end
  89. if isAnimating then
  90. table.insert(animationQueue, animData)
  91. return
  92. end
  93.  
  94. isAnimating = true
  95. local anim = Instance.new("Animation")
  96. anim.AnimationId = "rbxassetid://" .. animData.id
  97. local track = humanoid:LoadAnimation(anim)
  98.  
  99. if animData.waitTime then wait(animData.waitTime) end
  100. track:Play()
  101. track:AdjustSpeed(0)
  102. track.TimePosition = animData.startTime or 0
  103. track:AdjustSpeed(animData.speed or 1)
  104.  
  105. if animData.stopDelay then
  106. delay(animData.stopDelay, function()
  107. track:Stop()
  108. end)
  109. end
  110.  
  111. track.Stopped:Connect(function()
  112. isAnimating = false
  113. if #animationQueue > 0 then
  114. local nextAnim = table.remove(animationQueue, 1)
  115. playAnimation(nextAnim)
  116. end
  117. end)
  118. end
  119.  
  120. -- BodyVelocity Fix
  121. local function fixVelocity(obj)
  122. if obj:IsA("BodyVelocity") then
  123. obj.Velocity = Vector3.new(obj.Velocity.X, 0, obj.Velocity.Z)
  124. end
  125. end
  126. for _, d in ipairs(character:GetDescendants()) do fixVelocity(d) end
  127. character.DescendantAdded:Connect(fixVelocity)
  128.  
  129. -- VFX for special animation
  130. local function addSpecialVFX()
  131. local vfxTemplate = Rep:FindFirstChild("Resources") and Rep.Resources:FindFirstChild("SunsetEffects")
  132. if vfxTemplate then
  133. local attach = vfxTemplate:FindFirstChild("SwordInGround") and vfxTemplate.SwordInGround:FindFirstChild("Turned")
  134. if attach and attach:FindFirstChild("Attachment") then
  135. local effect = attach.Attachment:Clone()
  136. effect.Parent = humanoidRootPart
  137. for _, part in ipairs(effect:GetChildren()) do
  138. if part:IsA("ParticleEmitter") then
  139. part:Emit(15)
  140. part.Enabled = true
  141. end
  142. end
  143. task.delay(3, function() effect:Destroy() end)
  144. end
  145. end
  146. end
  147.  
  148. -- Animation Played Event
  149. local function onAnimationPlayed(animTrack)
  150. local animId = animTrack.Animation.AnimationId:match("%d+")
  151. local replacement = replacementAnimations[animId]
  152. if replacement then
  153. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  154. if track ~= animTrack then track:Stop() end
  155. end
  156. animTrack:Stop()
  157. playAnimation(replacement)
  158.  
  159. if replacement.id == "18896127525" then
  160. addSpecialVFX()
  161. end
  162. end
  163. end
  164.  
  165. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  166.  
  167. -- Character Reset Handling
  168. player.CharacterAdded:Connect(function(newChar)
  169. character = newChar
  170. humanoid = newChar:WaitForChild("Humanoid")
  171. humanoidRootPart = newChar:WaitForChild("HumanoidRootPart")
  172. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  173. for _, d in ipairs(newChar:GetDescendants()) do fixVelocity(d) end
  174. newChar.DescendantAdded:Connect(fixVelocity)
  175. end)
  176.  
  177. --[[ Wall combo ]]
  178. local wallAnimationId = 15955393872
  179. local function onWallAnimationPlayed(animationTrack)
  180. if animationTrack.Animation.AnimationId == "rbxassetid://" .. wallAnimationId then
  181. local animAnim = Instance.new("Animation")
  182. animAnim.AnimationId = "rbxassetid://15943915877"
  183. local anim = humanoid:LoadAnimation(animAnim)
  184.  
  185. local startTime = 0.05
  186. anim:Play()
  187. anim:AdjustSpeed(0)
  188. anim.TimePosition = startTime
  189. anim:AdjustSpeed(1)
  190. end
  191. end
  192. humanoid.AnimationPlayed:Connect(onWallAnimationPlayed)
  193.  
  194. --[[ Ult Activation ]]
  195. local ultAnimationId = 12447707844
  196. local function onUltAnimationPlayed(animationTrack)
  197. if animationTrack.Animation.AnimationId == "rbxassetid://" .. ultAnimationId then
  198. local animAnim = Instance.new("Animation")
  199. animAnim.AnimationId = "rbxassetid://15507137974"
  200. local anim = humanoid:LoadAnimation(animAnim)
  201.  
  202. local startTime = 0
  203. anim:Play()
  204. anim:AdjustSpeed(0)
  205. anim.TimePosition = startTime
  206. anim:AdjustSpeed(1)
  207. end
  208. end
  209. humanoid.AnimationPlayed:Connect(onUltAnimationPlayed)
  210.  
  211. --[[ Dash ]]
  212. local dashAnimationId = 10479335397
  213. local function onDashAnimationPlayed(animationTrack)
  214. if animationTrack.Animation.AnimationId == "rbxassetid://" .. dashAnimationId then
  215. local animAnim = Instance.new("Animation")
  216. animAnim.AnimationId = "rbxassetid://17838006839"
  217. local anim = humanoid:LoadAnimation(animAnim)
  218.  
  219. local startTime = 0
  220. anim:Play()
  221. anim:AdjustSpeed(0)
  222. anim.TimePosition = startTime
  223. anim:AdjustSpeed(1.3)
  224.  
  225. delay(1.8, function()
  226. anim:Stop()
  227. end)
  228. end
  229. end
  230. humanoid.AnimationPlayed:Connect(onDashAnimationPlayed)
  231.  
  232. --[[ Uppercut ]]
  233. local uppercutAnimationId = 10503381238
  234. local function onUppercutAnimationPlayed(animationTrack)
  235. if animationTrack.Animation.AnimationId == "rbxassetid://" .. uppercutAnimationId then
  236. local animAnim = Instance.new("Animation")
  237. animAnim.AnimationId = "rbxassetid://14900168720"
  238. local anim = humanoid:LoadAnimation(animAnim)
  239.  
  240. local startTime = 1.3
  241. anim:Play()
  242. anim:AdjustSpeed(0)
  243. anim.TimePosition = startTime
  244. anim:AdjustSpeed(0.7)
  245. end
  246. end
  247. humanoid.AnimationPlayed:Connect(onUppercutAnimationPlayed)
  248.  
  249. --[[ Downslam ]]
  250. local downslamAnimationId = 10470104242
  251. local function onDownslamAnimationPlayed(animationTrack)
  252. if animationTrack.Animation.AnimationId == "rbxassetid://" .. downslamAnimationId then
  253. local animAnim = Instance.new("Animation")
  254. animAnim.AnimationId = "rbxassetid://12447247483"
  255. local anim = humanoid:LoadAnimation(animAnim)
  256.  
  257. local startTime = 0
  258. wait(0.2)
  259. anim:Play()
  260. anim:AdjustSpeed(0)
  261. anim.TimePosition = startTime
  262. anim:AdjustSpeed(6)
  263. end
  264. end
  265. humanoid.AnimationPlayed:Connect(onDownslamAnimationPlayed)
Advertisement
Add Comment
Please, Sign In to add comment