Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- a-60 entity -- -- and crucifix (only works for a-60 entity) --
- print("this is made by Jackie_Wolfy2.")
- local cantouch = false
- local entity = Instance.new("Part")
- local model = Instance.new("Model")
- local player = game.Players.LocalPlayer
- local character = player.Character
- local light = Instance.new("PointLight")
- model.PrimaryPart = entity
- entity.Size = Vector3.new(4, 6, 4)
- entity.Transparency = 1
- entity.CanCollide = false
- entity.Anchored = true
- light.Parent = entity
- light.Brightness = 100
- light.Color = Color3.new(255,0,0)
- local gui = Instance.new("BillboardGui")
- gui.Parent = entity
- local image = Instance.new("ImageLabel")
- gui.Size = UDim2.new(5,0,5,0)
- image.Parent = gui
- image.ImageTransparency = 0
- image.BackgroundTransparency = 1
- image.Size = UDim2.new(1,0,1,0)
- image.Image = "http://www.roblox.com/asset/?id=11287256498"
- local mouse = player:GetMouse()
- model.Parent = workspace
- model.Name = "A-60"
- entity.Name = ""
- entity.Parent = model
- local tool = Instance.new("Tool")
- tool.Name = "Crucifix"
- tool.TextureId = "http://www.roblox.com/asset/?id=11713204957"
- local Handle = Instance.new("Part")
- Handle.Name = "Handle"
- local mesh = Instance.new("SpecialMesh")
- mesh.Parent = Handle
- Handle.Material = Enum.Material.WoodPlanks
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.MeshId = "rbxassetid://11468548833"
- mesh.Scale = Vector3.new(0.0000000418, 0.000000849, 0.000000133)
- Handle.Parent = tool
- tool.Parent = player.Backpack
- Handle.Touched:Connect(function(hit)
- isCanTouch = false
- if hit.Parent:IsA("Model") and hit.Parent.Name == "A-60" and isCanTouch == false then
- isCanTouch = true
- local A_60 = hit.Parent
- local CrucifixEffect = Instance.new("Part")
- CrucifixEffect.Parent = A_60
- CrucifixEffect.BrickColor = BrickColor.Blue()
- CrucifixEffect.Material = Enum.Material.Neon
- CrucifixEffect.CFrame = CFrame.new(entity.CFrame.X,entity.CFrame.Y - 20,entity.CFrame.Z)
- CrucifixEffect.Size = Vector3.new(8,1,6)
- CrucifixEffect.Anchored = true
- CrucifixEffect.CanCollide = false
- local Weld = Instance.new("Weld")
- Weld.Parent = CrucifixEffect
- Weld.Part0 = CrucifixEffect
- Weld.Part1 = entity
- repeat
- entity.CFrame = CrucifixEffect.CFrame
- until wait(2)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(CFrame.new(entity.CFrame.X,entity.CFrame.Y - 40,entity.CFrame.Z),i)
- end
- wait(1)
- A_60:Destroy()
- tool:Destroy()
- end
- end)
- entity.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and not hit.Parent:FindFirstChild("Crucifix") then
- local gudinglightgui = Instance.new("ScreenGui")
- local i = Instance.new("TextLabel")
- gudinglightgui.Parent = player.PlayerGui
- i.Parent = gudinglightgui
- i.BackgroundColor3 = Color3.new(0,0,0)
- i.TextTransparency = 0
- i.TextColor3 = Color3.new(255,255,255)
- i.Text = "You know A-60 is not the same with other entitys."
- wait(2)
- gudinglightgui:Destroy()
- hit.Parent.Humanoid.Health = 0
- while wait() do
- player.PlayerGui.MainUI.Statistics.Death.Text = "Died to A-60"
- end
- end
- end)
- print("entity has spawn for now.")
- character.Humanoid.Touched:Connect(function(hit)
- local randomchance = math.random(0,100)
- print(randomchance)
- if hit.Parent:IsA("Model") and hit.Parent:FindFirstChild("RoomEnd") and randomchance == 100 then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://252081218"
- sound.Parent = workspace
- sound:Play()
- sound:Destroy()
- local entitysound = Instance.new("Sound")
- entitysound.SoundId = "rbxassetid://530591527"
- entitysound.Parent = entity
- entitysound.PlaybackSpeed = 0.1
- entitysound.Playing = true
- entitysound.Looped = true
- wait(4)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(hit.Parent.RoomEnd.CFrame,i)
- end
- wait(0.0000001)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(hit.Parent.RoomStart.CFrame,i)
- end
- wait(0.0000001)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(hit.Parent.RoomEnd.CFrame,i)
- wait(0.0000001)
- for i=0,1,0.1 do
- wait()
- entity.CFrame = entity.CFrame:Lerp(hit.Parent.RoomStart.CFrame,i)
- end
- entitysound:Destroy()
- model:PivotTo(hit.Parent.RoomStart.CFrame)
- end
- end
- end)
- while true do
- image.Rotation = 1
- wait(0.00000000001)
- image.Rotation = 8
- wait(0.00000000001)
- image.Rotation = 2
- wait(0.00000000001)
- image.Rotation = -3
- wait(0.00000000001)
- image.Rotation = -8
- wait(0.00000000001)
- image.Rotation = -1
- wait(0.00000000001)
- image.Rotation = -9
- wait(0.00000000001)
- image.Rotation = 0
- wait(0.00000000001)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement