ADVERTISEMENTREMOVE ADS

Spiderman gui

Universal script
5 months ago
Script preview thumbnail
Script Preview

Description

ADVERTISEMENTREMOVE ADS
171 Lines • 5.14 KiB
Raw
-- R6 Spider-Man GUI with 12 Features by ChatGPT
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
-- GUI Setup
local gui = Instance.new("ScreenGui", plr.PlayerGui)
gui.Name = "SpiderManGUI"
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 230, 0, 400)
frame.Position = UDim2.new(0.05, 0, 0.2, 0)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.Active = true
frame.Draggable = true
local layout = Instance.new("UIListLayout", frame)
layout.Padding = UDim.new(0, 5)
layout.SortOrder = Enum.SortOrder.LayoutOrder
function addButton(text, callback)
local btn = Instance.new("TextButton", frame)
btn.Size = UDim2.new(0, 210, 0, 32)
btn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
btn.TextColor3 = Color3.new(1,1,1)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 14
btn.Text = text
btn.MouseButton1Click:Connect(callback)
end
-- 1. Suit Toggle
local suitOn = false
addButton("Toggle Suit", function()
suitOn = not suitOn
for _, v in pairs(char:GetChildren()) do
if v:IsA("Accessory") or v:IsA("Clothing") then
v.Transparency = suitOn and 1 or 0
end
end
if suitOn then
local shirt = Instance.new("Shirt", char)
shirt.Name = "SpiderShirt"
shirt.ShirtTemplate = "rbxassetid://162470859"
local pants = Instance.new("Pants", char)
pants.Name = "SpiderPants"
pants.PantsTemplate = "rbxassetid://162471021"
else
if char:FindFirstChild("SpiderShirt") then char.SpiderShirt:Destroy() end
if char:FindFirstChild("SpiderPants") then char.SpiderPants:Destroy() end
end
end)
-- 2. Web Swing
addButton("Web Swing", function()
local hrp = char:WaitForChild("HumanoidRootPart")
local bv = Instance.new("BodyVelocity", hrp)
bv.Velocity = hrp.CFrame.lookVector * 150 + Vector3.new(0, 80, 0)
bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
game.Debris:AddItem(bv, 0.4)
end)
-- 3. Invisibility
local invis = false
addButton("Toggle Invisibility", function()
invis = not invis
for _, p in ipairs(char:GetDescendants()) do
if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
p.Transparency = invis and 1 or 0
end
end
end)
-- 4. Venom Punch
addButton("Venom Punch", function()
local arm = char:FindFirstChild("Right Arm")
if not arm then return end
local fx = Instance.new("ParticleEmitter", arm)
fx.Texture = "rbxassetid://259279214"
fx.Rate = 150
fx.Lifetime = NumberRange.new(0.4)
fx.Speed = NumberRange.new(0)
fx.Color = ColorSequence.new(Color3.fromRGB(255, 50, 50))
game.Debris:AddItem(fx, 0.5)
char:MoveTo(char.HumanoidRootPart.Position + char.HumanoidRootPart.CFrame.lookVector * 8)
end)
-- 5. Spider Pose
addButton("Spider Pose", function()
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://148840371" -- R6 crouch-like
local track = char.Humanoid:LoadAnimation(anim)
track:Play()
end)
-- 6. Wall Climb
addButton("Wall Climb", function()
local hrp = char:WaitForChild("HumanoidRootPart")
local ray = Ray.new(hrp.Position, hrp.CFrame.LookVector * 5)
local part, pos = workspace:FindPartOnRay(ray, char)
if part then
local bv = Instance.new("BodyVelocity", hrp)
bv.Velocity = Vector3.new(0, 100, 0)
bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
game.Debris:AddItem(bv, 0.4)
end
end)
-- 7. Web Pull
addButton("Web Pull (Enemies)", function()
for _, v in pairs(workspace:GetDescendants()) do
if v:IsA("Model") and v:FindFirstChild("Humanoid") and v ~= char then
local root = v:FindFirstChild("HumanoidRootPart")
if root then
root.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5)
end
end
end
end)
-- 8. Spider Jump
addButton("Spider Jump", function()
local bv = Instance.new("BodyVelocity", char.HumanoidRootPart)
bv.Velocity = Vector3.new(0, 150, 0)
bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
game.Debris:AddItem(bv, 0.3)
end)
-- 9. Spider Sense (ESP)
addButton("Spider Sense (ESP)", function()
for _, pl in pairs(game.Players:GetPlayers()) do
if pl ~= plr and pl.Character and pl.Character:FindFirstChild("HumanoidRootPart") then
local box = Instance.new("BoxHandleAdornment", pl.Character.HumanoidRootPart)
box.Size = Vector3.new(3,5,2)
box.Color3 = Color3.fromRGB(0, 0, 255)
box.Transparency = 0.4
box.ZIndex = 10
box.AlwaysOnTop = true
box.Adornee = pl.Character.HumanoidRootPart
game.Debris:AddItem(box, 5)
end
end
end)
-- 10. Play Spider-Verse Music
local playing = false
local music = Instance.new("Sound", workspace)
music.SoundId = "rbxassetid://1837635159" -- What's Up Danger
music.Volume = 1
music.Looped = true
addButton("Toggle Music", function()
playing = not playing
if playing then
music:Play()
else
music:Stop()
end
end)
-- 11. GUI Toggle Button
local toggle = Instance.new("TextButton", gui)
toggle.Size = UDim2.new(0, 150, 0, 35)
toggle.Position = UDim2.new(0.5, -75, 0.9, 0)
toggle.Text = "Toggle Spider GUI"
toggle.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
toggle.TextColor3 = Color3.fromRGB(255, 0, 0)
toggle.Font = Enum.Font.GothamBold
toggle.TextSize = 14
toggle.MouseButton1Click:Connect(function()
frame.Visible = not frame.Visible
end)
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS