Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local SoundP = Instance.new("Part",workspace)
- SoundP.Position = Vector3.new(10,3,10)
- SoundP.Size = Vector3.new(2,2,2)
- SoundP.Anchored = true
- SoundP.Material = ("SmoothPlastic")
- SoundP.BrickColor = BrickColor.new("Medium stone grey")
- SoundP.Locked = true
- local ClickD = Instance.new("ClickDetector", SoundP)
- local Sound = Instance.new("Sound",SoundP)
- function soundplay()
- Sound.SoundId = "rbxassetid://2803889112"
- Sound.Volume = 5
- Sound:Play()
- Sound.TimePosition = .5
- end
- function Clicked(player)
- if player.Name == "Food2004" or player.Name == "Memo1332" then
- soundplay()
- SoundP.BrickColor = BrickColor.new("Bright orange")
- SoundP.Material = ("Neon")
- wait(.5)
- SoundP.BrickColor = BrickColor.new("Medium stone grey")
- SoundP.Material = ("SmoothPlastic")
- else player.Character.Head.Size = Vector3.new(5,5,5)
- print("DON'T TOUCH")
- end
- end
- ClickD.MouseClick:connect(Clicked)
- local Apart = Instance.new("Part",workspace)
- Apart.Position = Vector3.new(10, 9.25, 10)
- Apart.Anchored = true
- Apart.Material = ("Neon")
- Apart.Size = Vector3.new(.5,1.5,0.5)
- Apart.Locked = true
- Apart.BrickColor = BrickColor.new("Really red")
- local Awedge1 = Instance.new("WedgePart",workspace)
- Awedge1.Position = Vector3.new(9.625, 7.75, 10)
- Awedge1.Anchored = true
- Awedge1.Material = ("Neon")
- Awedge1.Size = Vector3.new(0.5, 0.75, 1.5)
- Awedge1.Orientation = Vector3.new(-90, 90, 0)
- Awedge1.Locked = true
- Awedge1.BrickColor = BrickColor.new("Really red")
- local Awedge2 = Instance.new("WedgePart",workspace)
- Awedge2.Position = Vector3.new(10.375, 7.75, 10)
- Awedge2.Anchored = true
- Awedge2.Material = ("Neon")
- Awedge2.Size = Vector3.new(0.5, 0.75, 1.5)
- Awedge2.Orientation = Vector3.new(-90, -90, 0)
- Awedge2.Locked = true
- Awedge2.BrickColor = BrickColor.new("Really red")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement