Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- MOB PSYCHO POWERS - MOBILE GUI VERSION
- local p = game.Players.LocalPlayer
- local c = p.Character or p.CharacterAdded:Wait()
- local h = c:WaitForChild("HumanoidRootPart")
- local w = game:GetService("Workspace")
- -- GUI
- local gui = Instance.new("ScreenGui")
- gui.Name = "MobPsychoGUI"
- gui.ResetOnSpawn = false
- gui.Parent = p.PlayerGui
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 200, 0, 400)
- frame.Position = UDim2.new(0.5, -100, 0.5, -200)
- frame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
- frame.BackgroundTransparency = 0.3
- frame.BorderSizePixel = 0
- frame.Active = true
- frame.Draggable = true
- frame.Parent = gui
- local title = Instance.new("TextLabel")
- title.Size = UDim2.new(1, 0, 0, 40)
- title.Text = "đ„ MOB PSYCHO đ„"
- title.TextColor3 = Color3.fromRGB(255, 100, 255)
- title.BackgroundColor3 = Color3.fromRGB(30, 30, 50)
- title.Font = Enum.Font.GothamBold
- title.TextSize = 18
- title.Parent = frame
- -- Pouvoirs
- local powers = {
- Telekinesis = false,
- PsychicBarrier = false,
- PsychicExplosion = false,
- PsychicFlight = false,
- PsychicPush = false,
- Awakening = false
- }
- local buttons = {}
- -- Créer les boutons
- local yPos = 50
- local powerList = {
- {Name = "Télékinésie", Key = "Telekinesis", Color = Color3.fromRGB(100, 100, 255)},
- {Name = "BarriĂšre", Key = "PsychicBarrier", Color = Color3.fromRGB(100, 255, 100)},
- {Name = "Explosion", Key = "PsychicExplosion", Color = Color3.fromRGB(255, 100, 100)},
- {Name = "Vol", Key = "PsychicFlight", Color = Color3.fromRGB(100, 255, 255)},
- {Name = "Poussée", Key = "PsychicPush", Color = Color3.fromRGB(255, 255, 100)},
- {Name = "Ăveil", Key = "Awakening", Color = Color3.fromRGB(255, 0, 0)}
- }
- for _, power in ipairs(powerList) do
- local btn = Instance.new("TextButton")
- btn.Size = UDim2.new(1, -20, 0, 40)
- btn.Position = UDim2.new(0, 10, 0, yPos)
- btn.Text = "â " .. power.Name
- btn.BackgroundColor3 = power.Color
- btn.BackgroundTransparency = 0.4
- btn.TextColor3 = Color3.fromRGB(255, 255, 255)
- btn.Font = Enum.Font.Gotham
- btn.TextSize = 14
- btn.BorderSizePixel = 0
- btn.Parent = frame
- btn.MouseButton1Click:Connect(function()
- powers[power.Key] = not powers[power.Key]
- btn.Text = (powers[power.Key] and "â " or "â ") .. power.Name
- btn.BackgroundTransparency = powers[power.Key] and 0.1 or 0.4
- end)
- buttons[power.Key] = btn
- yPos = yPos + 50
- end
- -- Fonctions
- function getTargets()
- local t = {}
- for _, v in pairs(w:GetDescendants()) do
- if v:IsA("Model") and v ~= c and v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") then
- if (h.Position - v.HumanoidRootPart.Position).Magnitude < 50 and v.Humanoid.Health > 0 then
- table.insert(t, v)
- end
- end
- end
- return t
- end
- function effect(pos, color, size)
- local part = Instance.new("Part")
- part.Size = Vector3.new(size, size, size)
- part.Position = pos
- part.Anchored = true
- part.CanCollide = false
- part.Transparency = 0.5
- part.BrickColor = BrickColor.new(color)
- part.Material = Enum.Material.Neon
- part.Shape = Enum.PartType.Ball
- part.Parent = w
- spawn(function()
- for i = 1, 5 do
- part.Size = part.Size + Vector3.new(1, 1, 1)
- part.Transparency = part.Transparency + 0.1
- task.wait(0.05)
- end
- part:Destroy()
- end)
- end
- -- Boucle principale
- spawn(function()
- while task.wait(0.1) do
- pcall(function()
- if powers.Telekinesis then
- local targets = getTargets()
- if #targets > 0 and targets[1]:FindFirstChild("HumanoidRootPart") then
- targets[1].HumanoidRootPart.CFrame = targets[1].HumanoidRootPart.CFrame * CFrame.new(0, 0.5, 0)
- end
- end
- if powers.PsychicBarrier then
- for i = 1, 8 do
- local angle = (i / 8) * math.pi * 2 + tick() * 2
- local part = Instance.new("Part")
- part.Size = Vector3.new(2, 4, 2)
- part.Position = h.Position + Vector3.new(math.cos(angle) * 8, math.sin(tick() * 3) * 2, math.sin(angle) * 8)
- part.Anchored = true
- part.CanCollide = false
- part.Transparency = 0.4
- part.BrickColor = BrickColor.new("Bright blue")
- part.Material = Enum.Material.Neon
- part.Parent = w
- game:GetService("Debris"):AddItem(part, 0.2)
- end
- end
- if powers.PsychicExplosion then
- local exp = Instance.new("Explosion")
- exp.Position = h.Position
- exp.BlastRadius = 50
- exp.BlastPressure = 100000
- exp.DestroyJointRadiusPercent = 0
- exp.Parent = w
- for _, target in ipairs(getTargets()) do
- if target:FindFirstChild("Humanoid") then
- target.Humanoid:TakeDamage(100)
- end
- end
- for i = 1, 10 do
- effect(h.Position + Vector3.new(math.random(-20, 20), math.random(-10, 10), math.random(-20, 20)), "Bright red", math.random(2, 5))
- end
- powers.PsychicExplosion = false
- buttons.PsychicExplosion.Text = "â Explosion"
- buttons.PsychicExplosion.BackgroundTransparency = 0.4
- end
- if powers.PsychicFlight then
- local dir = Vector3.new(0, 0, 0)
- if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.W) then dir = dir + w.CurrentCamera.CFrame.LookVector end
- if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.S) then dir = dir - w.CurrentCamera.CFrame.LookVector end
- if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.A) then dir = dir - w.CurrentCamera.CFrame.RightVector end
- if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.D) then dir = dir + w.CurrentCamera.CFrame.RightVector end
- if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.Space) then dir = dir + Vector3.new(0, 1, 0) end
- if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftShift) then dir = dir - Vector3.new(0, 1, 0) end
- if dir.Magnitude > 0 then
- h.CFrame = h.CFrame + dir.Unit * 0.5
- end
- effect(h.Position, "Bright blue", 1)
- end
- if powers.PsychicPush then
- for _, target in ipairs(getTargets()) do
- if target:FindFirstChild("HumanoidRootPart") then
- local dir = (target.HumanoidRootPart.Position - h.Position).Unit
- target.HumanoidRootPart.CFrame = target.HumanoidRootPart.CFrame + dir * 10
- effect(target.HumanoidRootPart.Position, "Bright blue", 3)
- if target:FindFirstChild("Humanoid") then
- target.Humanoid:TakeDamage(50)
- end
- end
- end
- powers.PsychicPush = false
- buttons.PsychicPush.Text = "â PoussĂ©e"
- buttons.PsychicPush.BackgroundTransparency = 0.4
- end
- if powers.Awakening then
- for _, target in ipairs(getTargets()) do
- if target:FindFirstChild("Humanoid") then
- target.Humanoid:TakeDamage(200)
- end
- end
- for i = 1, 5 do
- effect(h.Position + Vector3.new(math.random(-30, 30), math.random(-10, 10), math.random(-30, 30)), "Bright red", math.random(3, 8))
- end
- end
- end)
- end
- end)
- print("đ„ MOB PSYCHO POWERS CHARGĂS !")
Advertisement
Add Comment
Please, Sign In to add comment