Andrew19282_44

Mario moveset;

Apr 10th, 2025 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 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)
Advertisement
Add Comment
Please, Sign In to add comment