Suite Templaye - Lua
Suite Templaye - Lua
ToolName.Text = "Move1"
ToolName.Text = "Move2"
ToolName.Text = "Move3"
ToolName.Text = "Move4"
if screenGui then
if magicHealthFrame then
if textLabel then
textLabel.Text = "UltimateName"
end
end
end
end
playerGui.DescendantAdded:Connect(findGuiAndSetText)
findGuiAndSetText()
--[[Animations]]
--[[Move 1]]
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://17838006839"
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0.1)
Anim.TimePosition = startTime
Anim:AdjustSpeed(0.9)
end
end
--[[Move 2]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://18181589384"
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(1)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
--[[Move 3]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://17838619895"
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
delay(1.8, function()
Anim:Stop()
end)
end
end
--[[Move 3 Hit]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationId = 17857880283
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://17838619895"
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
delay(1.8, function()
Anim:Stop()
end)
end
end
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://16515850153"
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://15943915877"
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
--[[Ult Activation]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationId = 18435535291
local p = game.Players.LocalPlayer
animTrack:Stop()
end
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
--[[END OF ULT ACTIVATION ANIM]]
--[[Dash]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://13294790250"
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1.3)
delay(1.8, function()
Anim:Stop()
end)
end
end
--[[Mini Uppercut]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://14900168720"
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(0.7)
end
end
--[[Downslam]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local p = game.Players.LocalPlayer
animTrack:Stop()
end
AnimAnim.AnimationId = "rbxassetid://12447247483"
local startTime = 0
wait(0.2)
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(6)
end
end
--[[Punch anims]]
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationIdsToStop = {
local replacementAnimations = {
local queue = {}
if isAnimating then
table.insert(queue, animationId)
return
end
isAnimating = true
if replacementAnimationId then
local AnimAnim = Instance.new("Animation")
AnimAnim.AnimationId = replacementAnimationId
Anim:Play()
Anim.Stopped:Connect(function()
isAnimating = false
playReplacementAnimation(nextAnimationId)
end
end)
else
isAnimating = false
end
end
if animationIdsToStop[animationId] then
track:Stop()
end
end
end
if animationIdsToStop[animationId] then
stopSpecificAnimations()
animationTrack:Stop()
local replacementAnimationId = replacementAnimations[tostring(animationId)]
if replacementAnimationId then
playReplacementAnimation(animationId)
end
end
end
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
if bodyVelocity:IsA("BodyVelocity") then
bodyVelocity.Velocity = Vector3.new(bodyVelocity.Velocity.X, 0,
bodyVelocity.Velocity.Z)
end
end
character.DescendantAdded:Connect(onBodyVelocityAdded)
onBodyVelocityAdded(descendant)
end
player.CharacterAdded:Connect(function(newCharacter)
character = newCharacter
humanoidRootPart = character:WaitForChild("HumanoidRootPart")
character.DescendantAdded:Connect(onBodyVelocityAdded)
end
end)
-- Messages to send
local messages = {"MESSAGE x1", "MESSAGE x2", "MESSAGE x3", "MESSAGE x4"}
ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(text,
"All")
end
--[[END OF QUOTES]]