Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local char = owner.Character
- local t = char.Torso
- local wai = false
- local mus = nil
- mus = Instance.new("Sound",char)
- mus.SoundId = "rbxassetid://2900080569"
- mus.Volume = 1
- mus.Pitch = 1
- local mus2 = nil
- mus2 = Instance.new("Sound",char)
- mus2.SoundId = "rbxassetid://1262465930"
- mus2.Volume = 1
- mus2.Pitch = 1
- function touch(hit)
- if not(wai == true) then
- if hit.Parent ~= nil then
- local hum = hit.Parent:findFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local plr = owner.Parent:FindFirstChild(hit.Parent.Name)
- if plr ~= nil then
- wai = true
- plr.Character = nil
- local ScreenGui = Instance.new("ScreenGui")
- local ImageLabel = Instance.new("ImageLabel")
- --Properties:
- ScreenGui.Parent = owner.Parent:FindFirstChild(plr.Name):WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ImageLabel.Parent = ScreenGui
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.Size = UDim2.new(0, 1953, 0, 1039)
- ImageLabel.Image = "rbxassetid://1433009872"
- mus:Play()
- wait(1)
- mus2:Play()
- wait(2)
- wai = false
- end
- end
- end
- end
- end
- t.Touched:connect(touch)
- local timepos = nil
- local timepos2 = nil
- while true do
- wait()
- if mus.Parent == char then
- mus.SoundId = "rbxassetid://2900080569"
- timepos = mus.TimePosition
- mus.Pitch = 1
- mus.Volume = 1
- else
- mus = Instance.new("Sound", char)
- mus.TimePosition = timepos
- end
- if mus2.Parent == char then
- mus2.SoundId = "rbxassetid://1262465930"
- timepos2 = mus2.TimePosition
- mus2.Pitch = 1
- mus2.Volume = 1
- else
- mus2 = Instance.new("Sound", char)
- mus2.TimePosition = timepos
- end
- end
Add Comment
Please, Sign In to add comment