Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local uis = game:GetService("UserInputService")
- local rs = game:GetService("RunService")
- local ts = game:GetService("TweenService")
- local lighting = game:GetService("Lighting")
- -- Koruma kalkanı ve ışınlanma
- local isFieldActive = false
- local forceField = nil
- local auraActive = false
- local timeStopped = false
- -- Ses Id'leri
- local soundIds = {
- Theme1 = 112220432725541,
- Talk1 = 1847811364,
- Talk2 = 1847811400,
- Theme2 = 1846574038,
- Theme3 = 1838820399,
- GalacticSound = 1839290228,
- GojoDomain = 6667923288,
- SukunaDomain = 6590147536,
- MahitoDomain = 18269037904,
- CaveSound = 3173566193
- }
- -- Koruma kalkanını oluşturma
- local function createForceField()
- if not isFieldActive then
- isFieldActive = true
- forceField = Instance.new("Part")
- forceField.Shape = Enum.PartType.Ball
- forceField.Size = Vector3.new(15, 15, 15)
- forceField.Color = Color3.fromRGB(0, 255, 0)
- forceField.Material = Enum.Material.Neon
- forceField.Transparency = 0.7
- forceField.Anchored = true
- forceField.CanCollide = false
- forceField.Parent = game.Workspace
- forceField.CFrame = character.HumanoidRootPart.CFrame
- forceField.Touched:Connect(function(hit)
- local hitPlayer = game.Players:GetPlayerFromCharacter(hit.Parent)
- if hitPlayer and hitPlayer ~= player then
- local direction = (hit.Parent.HumanoidRootPart.Position - character.HumanoidRootPart.Position).unit
- hit.Parent.HumanoidRootPart.Velocity = direction * 50
- end
- end)
- delay(15, function()
- if forceField then
- forceField:Destroy()
- forceField = nil
- isFieldActive = false
- end
- end)
- end
- end
- -- Koruma kalkanını yok etme
- local function removeForceField()
- if isFieldActive and forceField then
- forceField:Destroy()
- forceField = nil
- isFieldActive = false
- end
- end
- -- Enerji topu oluşturma
- local function createEnergyBall()
- local energyBall = Instance.new("Part")
- energyBall.Shape = Enum.PartType.Ball
- energyBall.Size = Vector3.new(10, 10, 10)
- energyBall.Color = Color3.fromRGB(0, 255, 0)
- energyBall.Material = Enum.Material.Neon
- energyBall.CanCollide = false
- energyBall.CFrame = character.HumanoidRootPart.CFrame + character.HumanoidRootPart.CFrame.LookVector * 5
- energyBall.Anchored = false
- energyBall.Velocity = character.HumanoidRootPart.CFrame.LookVector * 100
- energyBall.Parent = game.Workspace
- energyBall.Touched:Connect(function(hit)
- local hitPlayer = game.Players:GetPlayerFromCharacter(hit.Parent)
- if hitPlayer and hitPlayer ~= player then
- -- Toksik efekt
- end
- end)
- game.Debris:AddItem(energyBall, 5)
- end
- -- Zaman durdurma
- local function stopTime()
- if not timeStopped then
- timeStopped = true
- lighting.Ambient = Color3.fromRGB(0, 255, 0)
- rs:BindToRenderStep("StopTime", Enum.RenderPriority.Camera.Value + 1, function()
- for _, object in pairs(game.Workspace:GetDescendants()) do
- if object:IsA("BasePart") then
- object.Velocity = Vector3.new(0, 0, 0)
- object.RotVelocity = Vector3.new(0, 0, 0)
- end
- end
- end)
- delay(15, function()
- rs:UnbindFromRenderStep("StopTime")
- lighting.Ambient = Color3.fromRGB(255, 255, 255)
- timeStopped = false
- end)
- end
- end
- -- Aura oluşturma
- local function createAura()
- if not auraActive then
- auraActive = true
- for _, part in pairs(character:GetChildren()) do
- if part:IsA("BasePart") then
- local aura = Instance.new("ParticleEmitter")
- aura.Texture = "rbxassetid://[Particle_Texture_ID]" -- Partikül dokusu
- aura.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
- aura.Lifetime = NumberRange.new(1, 2)
- aura.Rate = 100
- aura.Parent = part
- end
- end
- delay(10, function()
- for _, part in pairs(character:GetChildren()) do
- if part:IsA("BasePart") then
- local aura = part:FindFirstChildWhichIsA("ParticleEmitter")
- if aura then
- aura:Destroy()
- end
- end
- end
- auraActive = false
- end)
- end
- end
- -- GUI oluşturma
- local function createGui()
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = player.PlayerGui
- local panel = Instance.new("Frame")
- panel.Size = UDim2.new(0, 200, 0, 300)
- panel.Position = UDim2.new(0.5, -100, 0.5, -150)
- panel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- panel.Visible = true
- panel.Parent = screenGui
- local toggleButton = Instance.new("TextButton")
- toggleButton.Text = "Toggle GUI"
- toggleButton.Size = UDim2.new(0, 100, 0, 50)
- toggleButton.Position = UDim2.new(0.5, -50, 0, 10)
- toggleButton.Parent = screenGui
- local stopButton = Instance.new("TextButton")
- stopButton.Text = "Stop Sound"
- stopButton.Size = UDim2.new(0, 100, 0, 50)
- stopButton.Position = UDim2.new(0.5, -50, 0.9, -50)
- stopButton.Parent = panel
- stopButton.MouseButton1Click:Connect(function()
- for _, sound in pairs(game.Workspace:GetDescendants()) do
- if sound:IsA("Sound") then
- sound:Stop()
- end
- end
- end)
- local yPos = 0.1
- for name, soundId in pairs(soundIds) do
- local button = Instance.new("TextButton")
- button.Text = name
- button.Size = UDim2.new(0, 100, 0, 50)
- button.Position = UDim2.new(0.5, -50, yPos, -50)
- button.Parent = panel
- button.MouseButton1Click:Connect(function()
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://" .. soundId
- sound.Parent = workspace
- sound:Play()
- end)
- yPos = yPos + 0.1
- end
- toggleButton.MouseButton1Click:Connect(function()
- panel.Visible = not panel.Visible
- toggleButton.Visible = not toggleButton.Visible
- end)
- end
- -- Tuşlara basıldığında hangi fonksiyonların çalışacağını ayarlama
- uis.InputBegan:Connect(function(input, gameProcessed)
- if gameProcessed then return end
- if input.KeyCode == Enum.KeyCode.F then
- if isFieldActive then
- removeForceField()
- else
- createForceField()
- end
- elseif input.KeyCode == Enum.KeyCode.T then
- stopTime()
- elseif input.KeyCode == Enum.KeyCode.C then
- createAura()
- elseif input.KeyCode == Enum.KeyCode.One then
- createEnergyBall()
- end
- end)
- -- GUI'yi oluştur
- createGui()
Advertisement
Add Comment
Please, Sign In to add comment