Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[PointCoded's Cube Script]]--
- --[[
- 1: Any Edits Of This Cube Must Include Some Form Of Formal Credits To The Creator Of The Script(PointCoded)
- 2: Edits Are Allowed
- 3: I Desided To Leak The Script Because People Were Asking For It And I Didnt Want To Add Anything Else
- 4: As Long As You Have Fun With It And Follow The Above Rules I Dont Care What You Do With The Script
- 5: Have Fun (Q for boost)
- ]]--
- local Plr = game.Players.LocalPlayer or nil
- local Player = Plr
- local Char = Plr.Character or nil
- local Mouse = Plr:GetMouse() or nil
- local Version = "2"
- local Humanoid = Char.Humanoid or nil
- local Torso = Char.Torso or nil
- local Head = Char.Head or nil
- local Larm = Char["Left Arm"] or nil
- local Lleg = Char["Left Leg"] or nil
- local Rarm = Char["Right Arm"] or nil
- local Rleg = Char["Right Leg"] or nil
- local euler=CFrame.fromEulerAnglesXYZ
- local vt=Vector3.new
- local cf=CFrame.new
- Humanoid.MaxHealth = 100000
- wait(0.1)
- Humanoid.Health = 1000000
- Humanoid.WalkSpeed = 25
- Humanoid.JumpPower = 90
- Humanoid.MaxSlopeAngle = 89.9
- print("Cube Guardian")
- print("Made by PointCoded")
- print("Version is: "..Version)
- Head.Transparency = 1
- Torso.Transparency = 1
- Larm:remove()
- Rarm:remove()
- Lleg.Transparency = 1
- Rleg.Transparency = 1
- Humanoid.Jump = true
- wait(1)
- Humanoid.CameraOffset = Vector3.new(0,3,0)
- local MainBlock = Instance.new("Part")
- MainBlock.Parent = Char
- MainBlock.Name = "Main Block"
- MainBlock.formFactor = 0
- MainBlock.BrickColor = BrickColor.new("Really black")
- MainBlock.Size = Vector3.new(8,8,8)
- MainBlock.BottomSurface = "Smooth"
- MainBlock.TopSurface = "Smooth"
- MainBlock.Material = "Neon"
- MainBlock.Locked = true
- MainBlock.CFrame = Torso.CFrame
- local Decal = Instance.new("Decal")
- Decal.Parent = MainBlock
- Decal.Name = "Face"
- Decal.Texture = "http://www.roblox.com/asset/?id=131003983"
- Decal.Face = "Front"
- local Box = Instance.new("SelectionBox")
- Box.Parent = MainBlock
- Box.Name = "Box"
- Box.Color3 = Color3.new(255,255,255)
- Box.LineThickness = 0.06
- Box.SurfaceTransparency = 1
- Box.Transparency = 0.5
- Box.Adornee = MainBlock
- local AttachMain = Instance.new("Weld")
- AttachMain.Part0 = Torso
- AttachMain.Part1 = MainBlock
- AttachMain.C1 = AttachMain.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- AttachMain.Parent = MainBlock
- AttachMain.Name = "Attach Main Block"
- local Sound1 = Instance.new("Sound")
- Sound1.Parent = MainBlock
- Sound1.SoundId = "http://www.roblox.com/asset/?id=186130717"
- Sound1.Looped = true
- Sound1.Name = "Eletric"
- Sound1.MaxDistance = 1000
- Sound1.MinDistance = 750
- Sound1.Pitch = 1
- Sound1.Volume = 1
- Sound1.PlayOnRemove = false
- local Sound1 = Instance.new("Sound")
- Sound1.Parent = MainBlock
- Sound1.SoundId = "http://www.roblox.com/asset/?id=186130717"
- Sound1.Name = "Eletric"
- Sound1.MaxDistance = 1000
- Sound1.MinDistance = 750
- Sound1.Pitch = 1
- Sound1.Volume = 0.6
- Sound1.PlayOnRemove = false
- local Sound2 = Instance.new("Sound")
- Sound2.Parent = MainBlock
- Sound2.SoundId = "http://www.roblox.com/asset/?id=236146895"
- Sound2.Name = "DumDumDumDum"
- Sound2.MaxDistance = 1000
- Sound2.MinDistance = 750
- Sound2.Pitch = 1
- Sound2.Volume = 0.6
- Sound2.PlayOnRemove = false
- local Sound3 = Instance.new("Sound")
- Sound3.Parent = MainBlock
- Sound3.SoundId = "http://www.roblox.com/asset/?id=184107000"
- Sound3.Name = "Whip"
- Sound3.MaxDistance = 1000
- Sound3.MinDistance = 750
- Sound3.Pitch = 1
- Sound3.Volume = 0.6
- Sound3.PlayOnRemove = false
- local Sound4 = Instance.new("Sound")
- Sound4.Parent = MainBlock
- Sound4.SoundId = "http://www.roblox.com/asset/?id=154904310"
- Sound4.Name = "Slap"
- Sound4.MaxDistance = 1000
- Sound4.MinDistance = 750
- Sound4.Pitch = 1
- Sound4.Volume = 0.6
- Sound4.PlayOnRemove = false
- function Loop(Action)
- game:GetService("RunService").RenderStepped:connect(Action)
- end
- local AttackEnabled = true
- MainBlock.Touched:connect(function(hit)
- for i,v in pairs(game.Players:GetPlayers()) do
- if hit.Parent and v.Name == hit.Parent.Name then
- if v.Character:findFirstChild("Main Block") == nil then
- v.Character.Torso.Name = "Main Block"
- Sound3:Play()
- v.Character:BreakJoints()
- for i = 1,20 do
- if v.Character then
- for i,x in pairs(v.Character:GetChildren()) do
- x:ClearAllChildren()
- if x:IsA("Part") then
- x.Size = Vector3.new(3.5,3.5,3.5)
- else
- x:remove()
- end
- end
- end
- end
- end
- end
- end
- end)
- function GUI(Text,Time)
- local S = Instance.new("ScreenGui")
- S.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- local F = Instance.new("Frame")
- F.Parent = S
- F.BackgroundColor3 = Color3.new(0,0,0)
- F.BackgroundTransparency = 0.5
- F.BorderSizePixel = 0
- F.Position = UDim2.new(0, 0, 0, 245)
- F.Size = UDim2.new(0, 1500, 0, 100)
- local T = Instance.new("TextLabel")
- T.Parent = F
- T.BackgroundTransparency = 1
- T.BorderSizePixel = 0
- T.Size = UDim2.new(0,1000, 0, 100)
- T.Font = "SourceSansBold"
- T.FontSize = "Size24"
- T.Text = Text
- T.TextColor3 = Color3.new(255,255,255)
- T.TextStrokeTransparency = 0
- wait(Time)
- S:remove()
- end
- Mouse.KeyDown:connect(function(key)
- if key == "q" and AttackEnabled == true then
- AttackEnabled = false
- Char["Main Block"].Box.Color3 = Color3.new(0,75,0)
- Char.Head.Velocity=Char.Head.CFrame.lookVector*420
- Sound2:Play()
- GUI("Boost",5)
- Char["Main Block"].Box.Color3 = Color3.new(255,255,255)
- AttackEnabled = true
- elseif key == "e" and AttackEnabled == true then
- AttackEnabled = false
- Char["Main Block"].Box.Color3 = Color3.new(0,75,0)
- Sound1:Play()
- local P = Instance.new("Part")
- P.Parent = Char
- P.Shape = 0
- P.CanCollide = false
- P.CFrame = Torso.CFrame
- P.Material = "Neon"
- P.TopSurface = "Smooth"
- P.BrickColor = BrickColor.new("Black")
- P.Transparency = 0.4
- Instance.new("ForceField",Char)
- GUI("Phsycic Blast",3)
- for i = 1,20 do
- wait(0.5)
- P.Size = Vector3.new(P.Size.X + 1,P.Size.Y + 1,P.Size.Z + 1)
- P.CFrame = Torso.CFrame
- P.Touched:connect(function(hit)
- if hit.Parent.Name ~= Player.Name and hit.Parent.Name ~= "Workspace" then
- hit.Parent:BreakJoints()
- end
- end)
- end
- P:remove()
- wait(10)
- Char["Main Block"].Box.Color3 = Color3.new(255,255,255)
- AttackEnabled = true
- end
- end)
- Loop(function()
- if Char["Main Block"] then
- Char["Main Block"].Locked = true -- No Btools For u Bish
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement