Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repStorage = game:GetService("ReplicatedStorage")
- if repStorage:FindFirstChild("remotess") == nil then
- HOLDER = Instance.new("Folder", repStorage)
- HOLDER.Name = "remotess"
- remote = Instance.new("RemoteEvent", HOLDER)
- remote.Name = "remote1"
- remote2 = Instance.new("RemoteEvent", HOLDER)
- remote2.Name = "remote23"
- else
- repStorage:WaitForChild("remotess"):Destroy()
- HOLDER = Instance.new("Folder", repStorage)
- HOLDER.Name = "remotess"
- remote = Instance.new("RemoteEvent", HOLDER)
- remote.Name = "remote1"
- remote2 = Instance.new("RemoteEvent", HOLDER)
- remote2.Name = "remote23"
- end
- DEAD = false
- wait(2)
- Player = game:GetService("Players").Felipe_MasterBr
- Character = Player.Character
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- Humanoid.Name = "Mr Pixels"
- Torso = Character.Torso
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local S = Instance.new("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- 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(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function guiCheck()
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.PlayerGui:FindFirstChild("pixelrep2") == nil then
- print("lol")
- local avee = script.pixelrep2:Clone()
- avee.Disabled = false
- avee.Parent = v.PlayerGui
- end
- end
- end
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.PlayerGui:FindFirstChild("pixelrep2") == nil then
- print("lol")
- local avee = script.pixelrep2:Clone()
- avee.Disabled = false
- avee.Parent = v.PlayerGui
- else
- v.PlayerGui:WaitForChild("pixelrep2"):Destroy()
- print("lol2")
- local avee = script.pixelrep2:Clone()
- avee.Disabled = false
- avee.Parent = v.PlayerGui
- end
- end
- sick = CreateSound(2071274388, Torso, 4, 1, true)
- sick.Name = "sickomode"
- SONG = 2071274388
- remote.OnServerEvent:Connect(function(player, request, ...)
- remote:FireAllClients(request, ...)
- end)
- remote2.OnServerEvent:Connect(function(plr, id)
- SONG = id
- end)
- Humanoid.Died:Connect(function()
- DEAD = true
- sick:Remove()
- end)
- sickomode = sick.TimePosition
- while true do
- swait()
- guiCheck()
- ANIMATE.Parent = nil
- sickomode = sick.TimePosition
- if Torso:FindFirstChild("sickomode") == nil then
- sick = CreateSound(2071274388, Torso, 4, 1, true)
- sick.Name = "sickomode"
- sick.TimePosition = sickomode
- end
- Humanoid.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999
- Humanoid.Health = Humanoid.MaxHealth
- if DEAD == false then
- sick.SoundId = "rbxassetid://"..SONG
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 4
- sick.Playing = true
- sick.Parent = Torso
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement