Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --A small part, here with a message!--
- local Player = game:GetService("Players"):FindFirstChild(owner.Name)
- local Character = Player.Character
- sine = 0
- change = 1
- sin = math.sin
- Cos = math.cos
- local Model = Instance.new("Model",script)
- Model.Name = "im sorry game_fixing"
- local Part = Instance.new("Part",Model)
- Part.Size = Vector3.new(1, 1, 1)
- Part.Name = "Head"
- Part.Anchored = true
- Part.Orientation = Vector3.new(90, 0, 0)
- local Humanoid = Instance.new("Humanoid",Model)
- Humanoid.Name = "Humanoid"
- Player.Chatted:connect(function(msg)
- Model.Name = msg
- end)
- function hammermesh(part)
- local Mesh = Instance.new("SpecialMesh",part)
- Mesh.MeshId = "rbxassetid://10604848"
- Mesh.TextureId = "rbxassetid://10605252"
- return Mesh
- end
- function hammertime(player)
- local pee = player
- local hammer = Instance.new("Part",pee.Character)
- hammer.Size = Vector3.new(2, 5, 4)
- hammer.Anchored = false
- hammer.Position = pee.Character.HumanoidRootPart.Position + Vector3.new(0, 15, 0)
- local Mesh = Instance.new("SpecialMesh",hammer)
- Mesh.MeshId = "rbxassetid://10604848"
- Mesh.TextureId = "rbxassetid://10605252"
- Mesh.Scale = Vector3.new(1, 1, 1)
- coroutine.resume(coroutine.create(function()
- while true do
- Swait()
- hammer.Orientation = hammer.Orientation + Vector3.new(10, 0, 0)
- end
- end))
- wait(2)
- pee.Character.Head:Destroy()
- hammer:Destroy()
- pee:LoadCharacter()
- end
- function explode(player)
- local pee = player
- local explosion = Instance.new("Explosion",pee.Character)
- explosion.Position = pee.Character.Torso.Position
- pee.Character.Head:Destroy()
- wait(.5)
- pee:LoadCharacter()
- end
- Player.Chatted:connect(function(message)
- if message:sub(1, 4) == "/die" then
- local gamer = game.Players:FindFirstChild(message:sub(6))
- local chara = gamer.Character
- hammertime(gamer)
- wait(.5)
- Model.Name = "Killed " ..gamer.Name .."."
- end
- end)
- function detect()
- for _,v in pairs (game.Players:children()) do
- if v:IsA("Player") then
- if v.Character:FindFirstChild("Hammer") then --big ban
- v.Character:FindFirstChild("Hammer"):Destroy()
- local decider = math.random(1, 2)
- local candie = true
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- if v.Character:FindFirstChild("OofHead") then
- local decider = math.random(1, 2)
- local candie = true
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- if v.PlayerGui:FindFirstChild("RequireGUI") then --pityhub
- v.PlayerGui:FindFirstChild("RequireGUI").ToggleButton.Text = "destroyed skid"
- v.PlayerGui:FindFirstChild("RequireGUI").ToggleButton:ClearAllChildren()
- end
- if v.Character:FindFirstChild("Banzai Bazooka") then --banzai bazooka
- local decider = math.random(1, 2)
- local candie = true
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- if v.Character:FindFirstChild("Goner") then --goner
- local decider = math.random(1, 2)
- local candie = true
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- if v.Character:FindFirstChild("Shini-G4-MI") then --shini-g4-mi
- local decider = math.random(1, 2)
- local candie = true
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- if v.Character:FindFirstChild("Name") then --jevil
- local decider = math.random(1, 2)
- local txtdec = math.random(1, 5)
- local textd = false
- local candie = true
- local textf = v.Character:FindFirstChild("Name").TextLabel
- if txtdec == 1 and textd == false then
- textd = true
- textf.Text = "nah skid"
- end
- if txtdec == 2 and textd == false then
- textd = true
- textf.Text = "hi there jester"
- end
- if txtdec == 3 and textd == false then
- textd = true
- textf.Text = "no"
- end
- if txtdec == 4 and textd == false then
- textd = true
- textf.Text = "BEGONE"
- end
- if txtdec == 5 and textd == false then
- textd = true
- textf.Text = " 'you are noT wELCome heERE, " ..v.Name .."."
- end
- wait(1)
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- if v.Character:FindFirstChild("_status") then --notive
- local decider = math.random(1, 2)
- local txtdec = math.random(1, 5)
- local textd = false
- local candie = true
- local textf = v.Character:FindFirstChild("_status").TextLabel
- textf.Parent:Destroy()
- local textf = v.Character:FindFirstChild("_status").TextLabel
- if txtdec == 1 and textd == false then
- textd = true
- textf.Text = "nah skid"
- end
- if txtdec == 2 and textd == false then
- textd = true
- textf.Text = "get rekt skid"
- end
- if txtdec == 3 and textd == false then
- textd = true
- textf.Text = "no"
- end
- if txtdec == 4 and textd == false then
- textd = true
- textf.Text = "BEGONE"
- end
- if txtdec == 5 and textd == false then
- textd = true
- textf.Text = " 'you are noT wELCome heERE, " ..v.Name .."."
- end
- wait(1)
- if decider == 1 and candie == true then
- hammertime(v)
- candie = false
- end
- if decider == 2 and candie == true then
- explode(v)
- candie = false
- end
- end
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- Frame_Speed = 1/60
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- while true do
- Swait()
- sine = sine + change
- detect()
- Part.Material = "ForceField"
- Part.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(4, -0.25 + 0.25 * Cos(sine / 12), 0) * CFrame.Angles(0, 1 + 1 * Cos(sine / 50), 0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement