ADVERTISEMENTREMOVE ADS
Game icon

Unlock Dash

[RELEASE] Ink Game
1 month ago
Script preview thumbnail
Script Preview

Description

Unlock Free speed 5 and dash.
NO UPDATE

ADVERTISEMENTREMOVE ADS
275 Lines • 8.74 KiB
Raw
-- Рабочий скрипт для Roblox Ink Game с анимацией даша на Q
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
-- Проверка инжекта
if not _G.InkGameInjected then
_G.InkGameInjected = true
print("✅ Ink Game script injected successfully")
end
-- Настройки даша
_G.DashSettings = {
NormalSpeed = 25,
DashSpeed = 50,
DashDuration = 0.4,
DashCooldown = 1.2,
DashKey = Enum.KeyCode.Q
}
-- Создание анимаций даша
function createDashAnimations()
local dashAnimations = {}
-- Анимация рывка вперед
local dashTrack
local humanoid = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
local animator = humanoid:FindFirstChildOfClass("Animator")
if animator then
-- Создаем простую анимацию наклона вперед
local dashAnimation = Instance.new("Animation")
dashAnimation.AnimationId = "rbxassetid://8919964698" -- ID базовой анимации бега (замени на нужную)
dashTrack = animator:LoadAnimation(dashAnimation)
dashTrack:AdjustSpeed(2.5) -- Ускоренная анимация
end
end
-- Эффект размытия при даше
local function createBlurEffect()
if game:GetService("StarterGui"):GetCoreGuiEnabled(Enum.CoreGuiType.All) then
local blurEffect = Instance.new("BlurEffect")
blurEffect.Size = 0
blurEffect.Parent = game:GetService("Lighting")
return blurEffect
end
return nil
end
dashAnimations.dashTrack = dashTrack
dashAnimations.blurEffect = createBlurEffect()
return dashAnimations
end
-- Функция проигрывания анимации даша
function playDashAnimation(character, direction)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
-- Анимация рывка
local animator = humanoid:FindFirstChildOfClass("Animator")
if animator then
-- Быстрая анимация движения
local runAnimation = Instance.new("Animation")
runAnimation.AnimationId = "rbxassetid://8919964698"
local track = animator:LoadAnimation(runAnimation)
track:Play()
track:AdjustSpeed(3.0)
task.spawn(function()
task.wait(_G.DashSettings.DashDuration)
track:Stop()
end)
end
-- Визуальные эффекты
task.spawn(function()
-- Минимальный эффект размытия
local blur = Instance.new("BlurEffect")
blur.Size = 8
blur.Parent = game:GetService("Lighting")
-- Плавное появление и исчезание размытия
local tweenInfo = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local tween = TweenService:Create(blur, tweenInfo, {Size = 12})
tween:Play()
task.wait(_G.DashSettings.DashDuration * 0.7)
local tweenOut = TweenService:Create(blur, tweenInfo, {Size = 0})
tweenOut:Play()
task.wait(0.2)
blur:Destroy()
end)
-- Эффект частиц при даше (если есть HumanoidRootPart)
local rootPart = character:FindFirstChild("HumanoidRootPart")
if rootPart then
local dashParticles = Instance.new("ParticleEmitter")
dashParticles.Texture = "rbxassetid://243664672"
dashParticles.Lifetime = NumberRange.new(0.3, 0.6)
dashParticles.Rate = 30
dashParticles.SpreadAngle = Vector2.new(45, 45)
dashParticles.Speed = NumberRange.new(5, 10)
dashParticles.Size = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.3),
NumberSequenceKeypoint.new(1, 0)
})
dashParticles.Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0),
NumberSequenceKeypoint.new(1, 1)
})
dashParticles.Parent = rootPart
task.spawn(function()
task.wait(_G.DashSettings.DashDuration)
dashParticles.Enabled = false
task.wait(0.5)
dashParticles:Destroy()
end)
end
end
-- Основная функция разблокировки даша
function UnlockDash()
local character = LocalPlayer.Character
if not character then
character = LocalPlayer.CharacterAdded:Wait()
end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then
warn("❌ Humanoid not found")
return false
end
-- Установка базовой скорости
humanoid.WalkSpeed = _G.DashSettings.NormalSpeed
-- Переменные для даша
local canDash = true
local isDashing = false
-- Функция выполнения даша
local function performDash()
if not canDash or isDashing then return end
canDash = false
isDashing = true
-- Сохраняем направление взгляда для анимации
local rootPart = character:FindFirstChild("HumanoidRootPart")
local dashDirection = rootPart and rootPart.CFrame.LookVector or Vector3.new(0, 0, 1)
-- Запуск анимации даша
playDashAnimation(character, dashDirection)
-- Активация ускорения
humanoid.WalkSpeed = _G.DashSettings.DashSpeed
print("⚡ Dash activated with animation!")
-- Возврат к нормальной скорости с плавностью
task.wait(_G.DashSettings.DashDuration)
-- Плавное снижение скорости
local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
humanoid.WalkSpeed = _G.DashSettings.NormalSpeed
isDashing = false
-- КД даша с визуальным отсчетом
task.spawn(function()
local cooldownTime = _G.DashSettings.DashCooldown
while cooldownTime > 0 do
cooldownTime = cooldownTime - 0.1
task.wait(0.1)
end
canDash = true
print("✅ Dash ready")
end)
end
-- Обработчик нажатия Q
local dashConnection
dashConnection = UIS.InputBegan:Connect(function(input)
if input.KeyCode == _G.DashSettings.DashKey and not isDashing then
performDash()
end
end)
-- Очистка при смерти
local function onCharacterRemoved()
if dashConnection then
dashConnection:Disconnect()
end
end
character.Destroying:Connect(onCharacterRemoved)
humanoid.Died:Connect(onCharacterRemoved)
-- Обход системных ограничений
local function bypassRestrictions()
local scripts = character:GetDescendants()
for _, script in ipairs(scripts) do
if script:IsA("LocalScript") or script:IsA("Script") then
if script.Name:lower():find("dash") or script.Name:lower():find("speed") then
if script:FindFirstChild("LevelRequirement") then
script.LevelRequirement.Value = 1
end
end
end
end
end
pcall(bypassRestrictions)
print("✅ Dash unlocked - Press Q to dash")
print("🎬 Animation: ENABLED")
print("⚡ Normal speed: " .. _G.DashSettings.NormalSpeed)
print("💨 Dash speed: " .. _G.DashSettings.DashSpeed)
return true
end
-- Автозапуск при спавне персонажа
LocalPlayer.CharacterAdded:Connect(function(character)
task.wait(2)
UnlockDash()
end)
-- Горячая клавиша F9
UIS.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.F9 then
if _G.DashEnabled then
_G.DashEnabled = false
print("❌ Dash disabled")
else
_G.DashEnabled = true
UnlockDash()
end
end
end)
print("🎯 Ink Game Dash Unlocker loaded")
print("🎮 Dash key: Q (with animation)")
print("✨ Visual effects: ENABLED")
print("⚡ Auto-unlock on character spawn: ACTIVE")
print("🔧 Press F9 to toggle dash")
-- Запуск если персонаж уже есть
if LocalPlayer.Character then
task.spawn(function()
task.wait(2)
UnlockDash()
end)
end
-- Постоянная поддержка скорости
task.spawn(function()
while task.wait(1) do
if LocalPlayer.Character then
local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
if humanoid and humanoid.WalkSpeed < _G.DashSettings.NormalSpeed then
humanoid.WalkSpeed = _G.DashSettings.NormalSpeed
end
end
end
end)
ADVERTISEMENTREMOVE ADS

Comments

3 comments
to add a comment
Te

чот гпт ахх момент

1
0
Gm

@Telegram Рили

1
0
Sp

да по рофлу сделал

0
0
ADVERTISEMENTREMOVE ADS