Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local spamming = false
- local player = game.Players.LocalPlayer
- local char = player.Character
- repeat wait() char = player.Character until char
- char.Archivable = true
- local old = char:Clone()
- local framee
- local verify = player.Character
- local cooldown = 11
- local tillCD = 0
- wait(5)
- function chat(string)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(string,"All")
- end
- function reset(player)
- local charr = player.Character
- local framer = char:FindFirstChild("HumanoidRootPart")
- local frame
- if framer then
- frame = framer.CFrame
- end
- if charr then
- local new = old:Clone()
- if new then
- new.Parent = workspace
- char:Remove()
- player.Character = new
- char = player.Character
- workspace.CurrentCamera.CameraSubject = new:WaitForChild("Humanoid")
- player.Character:SetPrimaryPartCFrame(frame)
- end
- end
- end
- function spam1()
- spamming = true
- while wait(1.3) do
- local start = tick()
- if spamming == true then
- local start = tick()
- repeat wait() until player.Character:FindFirstChildOfClass("Accessory")~=nil or tick()-start>=5
- chat("b l o c k s")
- tillCD = tillCD+1
- if tillCD<= cooldown then
- verify = game.Players.LocalPlayer.Character
- if framee then
- workspace.CurrentCamera.CFrame= framee
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("SpecialMesh") then v:Destroy() end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Accessory") then
- v.Parent = game.Workspace
- v.Handle.CanCollide = true
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v.Parent = game.Workspace
- repeat wait() v.Parent = workspace until v.Parent == workspace
- end
- end
- --reset(player)
- framee = workspace.CurrentCamera.CFrame
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- repeat wait() local hum = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") until hum~=nil and hum.Health>0
- --game.ReplicatedStorage.Events.RefreshChar:FireServer(framee)
- else
- tillCD = 0
- chat("did you like my b l o c k s ... ?")
- spam2()
- break
- end
- else
- break
- end
- end
- end
- function spam2()
- spamming = true
- while wait(game.Players.RespawnTime/4) do
- local start = tick()
- if spamming == true then
- local start = tick()
- repeat wait() until player.Character:FindFirstChildOfClass("Accessory")~=nil or tick()-start>=5
- chat("b l o c k s")
- tillCD = tillCD+1
- if tillCD<= cooldown then
- verify = game.Players.LocalPlayer.Character
- if framee then
- workspace.CurrentCamera.CFrame= framee
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("SpecialMesh") then v:Destroy() end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Accessory") then
- v.Parent = game.Workspace
- v.Handle.CanCollide = true
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v.Parent = game.Workspace
- repeat wait() v.Parent = workspace until v.Parent == workspace
- end
- end
- --reset(player)
- framee = workspace.CurrentCamera.CFrame
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- repeat wait() local hum = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") until hum~=nil and hum.Health>0
- --game.ReplicatedStorage.Events.RefreshChar:FireServer(framee)
- else
- tillCD = 0
- chat("did you like my b l o c k s ... ?")
- spam1()
- break
- end
- else
- break
- end
- end
- end
- local mouse = player:GetMouse()
- if mouse then
- warn("Loaded brickspam with cool yellow text")
- mouse.KeyDown:Connect(function(key)
- if key:lower() == "q" then
- if spamming == false then
- spam1()
- else
- if spamming == true then
- spamming = false
- end
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement