--== GUI Oluşturma ==-- local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local TitleLabel = Instance.new("TextLabel") local Button1 = Instance.new("TextButton") local Button2 = Instance.new("TextButton") local Button3 = Instance.new("TextButton") --== GUI Ayarları ==-- ScreenGui.Parent = game.CoreGui ScreenGui.ResetOnSpawn = false MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.Size = UDim2.new(0, 300, 0, 250) MainFrame.Position = UDim2.new(0.5, -150, 0.5, -125) MainFrame.BorderSizePixel = 0 MainFrame.AnchorPoint = Vector2.new(0.5, 0.5) TitleLabel.Parent = MainFrame TitleLabel.Text = "Animation Menu" TitleLabel.Size = UDim2.new(1, 0, 0.2, 0) TitleLabel.Position = UDim2.new(0, 0, 0, 0) TitleLabel.BackgroundTransparency = 1 TitleLabel.Font = Enum.Font.GothamBold TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.TextSize = 24 Button1.Parent = MainFrame Button1.Text = "1: Dönerek Aşağı İn" Button1.Size = UDim2.new(0.8, 0, 0.2, 0) Button1.Position = UDim2.new(0.5, 0, 0.3, 0) Button1.AnchorPoint = Vector2.new(0.5, 0.5) Button1.BackgroundColor3 = Color3.fromRGB(50, 150, 255) Button1.Font = Enum.Font.GothamBold Button1.TextColor3 = Color3.fromRGB(255, 255, 255) Button1.TextSize = 18 Button2.Parent = MainFrame Button2.Text = "2: Hızlıca Dön" Button2.Size = UDim2.new(0.8, 0, 0.2, 0) Button2.Position = UDim2.new(0.5, 0, 0.5, 0) Button2.AnchorPoint = Vector2.new(0.5, 0.5) Button2.BackgroundColor3 = Color3.fromRGB(50, 150, 255) Button2.Font = Enum.Font.GothamBold Button2.TextColor3 = Color3.fromRGB(255, 255, 255) Button2.TextSize = 18 Button3.Parent = MainFrame Button3.Text = "3: Aşağı İn ve Görünmez Ol" Button3.Size = UDim2.new(0.8, 0, 0.2, 0) Button3.Position = UDim2.new(0.5, 0, 0.7, 0) Button3.AnchorPoint = Vector2.new(0.5, 0.5) Button3.BackgroundColor3 = Color3.fromRGB(50, 150, 255) Button3.Font = Enum.Font.GothamBold Button3.TextColor3 = Color3.fromRGB(255, 255, 255) Button3.TextSize = 18 --== Animasyon İşlevleri ==-- -- Karakteri yavaşça yukarı ve aşağı hareket ettirir local function IdleAnimation() isAnimating[0] = true local humanoidRootPart = Character:WaitForChild("HumanoidRootPart") while isAnimating[0] do for i = 0, 5, 0.1 do humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.new(0, math.sin(i) * 0.05, 0) wait(0.05) end end end -- Dönerek aşağı inme ve tekrar yukarı çıkma local function SpinAndMove() if isAnimating[1] then isAnimating[1] = false else isAnimating[1] = true local humanoidRootPart = Character:WaitForChild("HumanoidRootPart") for i = 0, 360, 10 do if not isAnimating[1] then break end humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.Angles(0, math.rad(10), 0) * CFrame.new(0, -0.05, 0) wait(0.05) end end end -- Hızlıca kendi etrafında dönme local function FastSpin() if isAnimating[2] then isAnimating[2] = false else isAnimating[2] = true local humanoidRootPart = Character:WaitForChild("HumanoidRootPart") while isAnimating[2] do humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.Angles(0, math.rad(20), 0) wait(0.05) end end end -- Görünmez olma ve aşağı eğilme local function InvisibleAndLower() if isAnimating[3] then isAnimating[3] = false Character.HumanoidRootPart.Transparency = 0 for _, part in pairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.Transparency = 0 end end else isAnimating[3] = true for i = 1, 10 do if not isAnimating[3] then break end Character.HumanoidRootPart.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(0, -0.05, 0) wait(0.05) end for _, part in pairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.Transparency = 0.5 end end end end --== Butonlara İşlev Ekleme ==-- Button1.MouseButton1Click:Connect(SpinAndMove) Button2.MouseButton1Click:Connect(FastSpin) Button3.MouseButton1Click:Connect(InvisibleAndLower) -- Başlangıçta yukarı-aşağı hareket başlatma spawn(IdleAnimation)