Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Find Lua scripts online and paste them here
- print("Entity has spawn for now.")
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoid = character:WaitForChild("Humanoid")
- local mouse = player:GetMouse()
- local model = Instance.new("Model")
- local entity = Instance.new("Part")
- local LoopedSound = Instance.new("Sound")
- LoopedSound.Parent = entity
- LoopedSound.Looped = true
- LoopedSound.Playing = true
- LoopedSound.SoundId = "rbxassetid://8880765497"
- local DistortionSoundEffect = Instance.new("DistortionSoundEffect")
- DistortionSoundEffect.Parent = LoopedSound
- model.Parent = workspace
- entity.Parent = model
- entity.Size = Vector3.new(4, 8, 4)
- entity.Touched:Connect(function(v)
- if v.Parent:FindFirstChild("Humanoid") then
- v.Parent.Humanoid.Health = 0
- end
- end)
- entity.Name = ""
- model.PrimaryPart = entity
- local debounce = false
- humanoid.Touched:Connect(function(v)
- if v.Parent:FindFirstChild("Assets") and debounce == false then
- r = math.random(1,10)
- print(r)
- debounce = true
- wait(2)
- if r == 10 then
- local flicklight = Instance.new("Sound")
- flicklight.SoundId = "rbxassetid://4288784832"
- flicklight.Parent = v.Parent.Base
- flicklight.Volume = 1
- flicklight:Play()
- flicklight:Destroy()
- wait(1)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(v.Parent.RoomEnd.CFrame,i)
- end
- wait(2)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(v.Parent.RoomStart.CFrame,i)
- end
- end
- wait(2)
- debounce = false
- else
- print("nothing.")
- end
- end)
- local light = Instance.new("PointLight")
- light.Parent = entity
- light.Brightness = 60
- light.Color = Color3.new(255,0,0)
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Parent = entity
- entity.Transparency = 1
- entity.CanCollide = false
- entity.Anchored = true
- local image = Instance.new("ImageLabel")
- image.Parent = BillboardGui
- image.ImageTransparency = 0
- image.BackgroundTransparency = 1
- BillboardGui.Size = UDim2.new(5,1,5)
- image.Size = UDim2.new(1,0,1,0)
- image.Image = "rbxassetid://12006109629"
- while wait(0) do
- image.Rotation = 5
- wait(0.00000001)
- image.Rotation = 13
- wait(0.00000001)
- image.Rotation = 9
- wait(0.00000001)
- image.Rotation = 2
- wait(0.00000001)
- image.Rotation = -5
- wait(0.00000001)
- image.Rotation = -13
- wait(0.00000001)
- image.Rotation = -20
- wait(0.00000001)
- image.Rotation = -2
- wait(0.00000001)
- image.Rotation = 0
- wait(0.00000001)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement