Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
- local plr = game.Players.LocalPlayer
- repeat wait() until plr.Character
- plr = game.Players.LocalPlayer
- char = plr.Character
- torso = char.Torso
- head = char.Head
- neck = torso.Neck
- head.face:Destroy()
- sound = Instance.new("Sound", head)
- sound.SoundId = "rbxassetid://"
- sound.Volume = 100
- sound:Play()
- sound.Looped = true
- plr.Chatted:connect(function(message)
- if message:sub(1,4) == "Play" then
- sound:Stop()
- sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
- sound:Play()
- end
- end)
- ---- [[ Left Eye]] ----
- eye1 = Instance.new("Part", workspace)
- eye1.Anchored = false
- eye1.Parent = head
- eye1.TopSurface = 0
- eye1.BrickColor = BrickColor.new("Really Black")
- eye1.BottomSurface = 0
- eye1m = Instance.new("SpecialMesh", eye1)
- eye1m.MeshType = Enum.MeshType.Sphere
- eye1m.Scale = Vector3.new(0.02,0.12,0.03)
- ogsize = eye1m.Scale
- weld = Instance.new("Weld", head)
- weld.Part0 = eye1
- weld.Part1 = head
- weld.C1 = CFrame.new(-.17,.14,-.57)
- ---- [[ Right Eye ]] ----
- eye2 = Instance.new("Part", workspace)
- eye2.Anchored = false
- eye2.Parent = head
- eye2.TopSurface = 0
- eye2.BrickColor = BrickColor.new("Really Black")
- eye2.BottomSurface = 0
- eye2m = Instance.new("SpecialMesh", eye2)
- eye2m.MeshType = Enum.MeshType.Sphere
- eye2m.Scale = Vector3.new(0.02,0.12,0.03)
- ogsize = eye2m.Scale
- weld = Instance.new("Weld", head)
- weld.Part0 = eye2
- weld.Part1 = head
- weld.C1 = CFrame.new(.17,.14,-.57)
- --Day night function--
- local a = game.Players.LocalPlayer
- local mouse = a:GetMouse()
- game.Workspace[a.Name].Humanoid.HealthDisplayType = "AlwaysOff"
- game.Workspace[a.Name].Humanoid.HealthDisplayDistance = "0"
- game.Workspace[a.Name].Humanoid.DisplayDistanceType = "None"
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- local p = game.Workspace[a.Name]
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1
- p.Head.face.Transparency = 1
- p.Cloak.Transparency = 1
- p.Head.BillboardGui.Enabled = false
- game.Lighting.OutdoorAmbient = Color3.new(0, 0, 0)
- game.Lighting.Brightness = 0
- game.Lighting.Ambient = Color3.new(0, 0, 0)
- p.Humanoid.WalkSpeed = 100
- p.Humanoid.JumpPower = 75
- game.Workspace.Gravity = 80
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- local p = game.Workspace[a.Name]
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 0
- p.Cloak.Transparency = 0
- p.Head.face.Transparency = 0
- p.Reference.Transparency = 1
- p.HumanoidRootPart.Transparency = 1
- p.Head.BillboardGui.Enabled = true
- game.Lighting.OutdoorAmbient = Color3.new(127, 127, 127)
- game.Lighting.Brightness = 1
- game.Lighting.Ambient = Color3.new(0, 0, 0)
- p.Humanoid.WalkSpeed = 21
- p.Humanoid.JumpPower = 50
- game.Workspace.Gravity = 100
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement