Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return script
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- Wo = Instance.new("Model",game:GetService("Lighting"))
- Wo.Name = "CompiledModel"
- -----variables
- local runner = game.Workspace:WaitForChild("refrop")
- local master = game:GetService("Players"):GetPlayerFromCharacter(runner)
- local base = Instance.new("Model")
- base.Name = "MyDummy"
- -------body
- local Head = Instance.new("Part")
- Head.Name = "Head"
- local Torso = Instance.new("Part")
- Torso.Name = "Torso"
- local LeftArm = Instance.new("Part")
- LeftArm.Name = "Left Arm"
- local RightArm = Instance.new("Part")
- RightArm.Name = "Right Arm"
- local LeftLeg = Instance.new("Part")
- LeftLeg.Name = "Left Leg"
- local RightLeg = Instance.new("Part")
- RightLeg.Name = "Right Leg"
- local Humanoid = Instance.new("Humanoid")
- Humanoid.Name = "Humanoid"
- local Face = Instance.new("Decal")
- Face.Name = "Face"
- -------body
- ------Motor6D
- local Neck = Instance.new("WeldConstraint")
- Neck.Name = "Neck"
- local RightShoulder = Instance.new("WeldConstraint")
- RightShoulder.Name = "Right Shoulder"
- local LeftHip = Instance.new("WeldConstraint")
- LeftHip.Name = "Left Hip"
- --local LeftShoulder = Instance.new("Motor6D")
- --LeftShoulder.Name = "Left Shoulder"
- local LeftShoulder = Instance.new("WeldConstraint")
- LeftShoulder.Name = "Left Shoulder"
- local RightHip = Instance.new("WeldConstraint")
- RightHip.Name = "Right Hip"
- local Mesh = Instance.new("SpecialMesh")
- Mesh.Name = "Mesh"
- local random = math.random(1, 2)
- local random2 = math.random(1, 3)
- ------Motor6D
- local Gui = Instance.new("ScreenGui")
- Gui.Name = "MyDummy"
- local Button = Instance.new("TextButton")
- Button.Name = "Duplicate"
- local Button2 = Instance.new("TextButton")
- Button2.Name = "Delete"
- local Button3 = Instance.new("TextButton")
- Button3.Name = "Sing"
- local Button4 = Instance.new("TextButton")
- Button4.Name = "Shut"
- local Button5 = Instance.new("TextButton")
- Button5.Name = "Close"
- local Button6 = Instance.new("TextButton")
- Button6.Name = "Follow"
- local Button7 = Instance.new("TextButton")
- Button7.Name = "Stop"
- local Button8 = Instance.new("TextButton")
- Button8.Name = "Inf"
- local Button9 = Instance.new("TextButton")
- Button9.Name = "Kiss"
- local Button10 = Instance.new("TextButton")
- Button10.Name = "Spawn"
- -------Talk
- local Bi = Instance.new("BillboardGui")
- Bi.Name = "talk"
- local text = Instance.new("TextBox")
- -------Talk
- -----variables
- -----game
- wait(0.2)
- local W = Wo
- base.Parent = W
- ---base.World = runner.Torso.Position - Vector3.new(0, 1, 0)
- Head.Parent = base
- Head.Position = runner.Torso.Position + Vector3.new(0, 4.5, 0)
- Head.Orientation = Vector3.new(0, 0, 0)
- Head.Size = Vector3.new(2, 1, 1)
- Head.Anchored = false
- Head.Material = Enum.Material.SmoothPlastic
- Bi.Parent = Head
- Bi.AlwaysOnTop = true
- Bi.Enabled = true
- Bi.Size = UDim2.new(0, 200, 0, 50)
- Bi.StudsOffset = Vector3.new(0, 2, 0)
- text.Parent = Bi
- text.TextScaled = true
- text.BackgroundTransparency = 1
- text.Text = "..."
- text.Size = UDim2.new(1, 0, 1, 0)
- Face.Parent = Head
- Face.Texture = "http://www.roblox.com/asset/?id=5400574876"
- Mesh.Parent = Head
- Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- Torso.Parent = base
- Torso.Position = runner.Torso.Position + Vector3.new(0, 3, 0)
- Torso.Orientation = Vector3.new(0, 0, 0)
- Torso.Size = Vector3.new(2, 2, 1)
- Torso.Anchored = false
- Torso.Material = Enum.Material.SmoothPlastic
- Torso.CanCollide = false
- LeftArm.Parent = base
- LeftArm.Position = runner.Torso.Position + Vector3.new(-1.47, 3, 0)
- LeftArm.Orientation = Vector3.new(0, 0, 0)
- LeftArm.Size = Vector3.new(1, 2, 1)
- LeftArm.Anchored = false
- LeftArm.Material = Enum.Material.SmoothPlastic
- LeftArm.CanCollide = false
- RightArm.Parent = base
- RightArm.Position = runner.Torso.Position + Vector3.new(1.47, 3, 0)
- RightArm.Orientation = Vector3.new(0, 0, 0)
- RightArm.Size = Vector3.new(1, 2, 1)
- RightArm.Anchored = false
- RightArm.Material = Enum.Material.SmoothPlastic
- RightArm.CanCollide = false
- LeftLeg.Parent = base
- LeftLeg.Position = runner.Torso.Position + Vector3.new(-0.5, 1, 0)
- LeftLeg.Orientation = Vector3.new(0, 0, 0)
- LeftLeg.Size = Vector3.new(1, 2, 1)
- LeftLeg.Anchored = false
- LeftLeg.Material = Enum.Material.SmoothPlastic
- LeftLeg.CanCollide = false
- RightLeg.Parent = base
- RightLeg.Position = runner.Torso.Position + Vector3.new(0.5, 1, 0)
- RightLeg.Orientation = Vector3.new(0, 0, 0)
- RightLeg.Size = Vector3.new(1, 2, 1)
- RightLeg.Anchored = false
- RightLeg.Material = Enum.Material.SmoothPlastic
- RightLeg.CanCollide = false
- -------body
- if random == 1 then
- Head.BrickColor = BrickColor.new("Cool yellow")
- RightArm.BrickColor = BrickColor.new("Cool yellow")
- LeftArm.BrickColor = BrickColor.new("Cool yellow")
- else
- Head.BrickColor = BrickColor.new("Bright orange")
- RightArm.BrickColor = BrickColor.new("Bright orange")
- LeftArm.BrickColor = BrickColor.new("Bright orange")
- end
- ---------shirt
- if random2 == 1 then
- Torso.BrickColor = BrickColor.new("Neon orange")
- RightLeg.BrickColor = BrickColor.new("Neon orange")
- LeftLeg.BrickColor = BrickColor.new("Neon orange")
- end
- if random2 == 2 then
- Torso.BrickColor = BrickColor.new("Black")
- RightLeg.BrickColor = BrickColor.new("Black")
- LeftLeg.BrickColor = BrickColor.new("Black")
- end
- if random2 == 3 then
- Torso.BrickColor = BrickColor.new("Baby blue")
- RightLeg.BrickColor = BrickColor.new("Baby blue")
- LeftLeg.BrickColor = BrickColor.new("Baby blue")
- end
- Humanoid.Parent = base
- Humanoid.NameOcclusion = Enum.NameOcclusion.OccludeAll
- Humanoid.DisplayName = " "
- -------------Motor6D
- LeftHip.Parent = Torso
- LeftHip.Part0 = Torso
- LeftHip.Part1 = LeftLeg
- RightHip.Parent = Torso
- RightHip.Part0 = Torso
- RightHip.Part1 = RightLeg
- Neck.Parent = Torso
- Neck.Part0 = Torso
- Neck.Part1 = Head
- RightShoulder.Parent = Torso
- RightShoulder.Part0 = Torso
- RightShoulder.Part1 = RightArm
- LeftShoulder.Parent = Torso
- LeftShoulder.Part0 = Torso
- LeftShoulder.Part1 = LeftArm
- -------------Motor6D
- --------------------------Gui
- Gui.Parent = master.PlayerGui
- Gui.ResetOnSpawn = false
- Button.Parent = master.PlayerGui.MyDummy
- Button.Position = UDim2.new(0.497, 0, 0.759, 0)
- Button.Size = UDim2.new(0, 95, 0, 50)
- Button.Text = "Duplicate"
- Button.TextScaled = true
- Button.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button.TextColor3 = Color3.new(1, 1, 1)
- Button.BorderSizePixel = 0
- Button2.Parent = master.PlayerGui.MyDummy
- Button2.Position = UDim2.new(0.597, 0, 0.759, 0)
- Button2.Size = UDim2.new(0, 95, 0, 50)
- Button2.Text = "Clean Server"
- Button2.TextScaled = true
- Button2.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button2.TextColor3 = Color3.new(1, 1, 1)
- Button2.BorderSizePixel = 0
- Button3.Parent = master.PlayerGui.MyDummy
- Button3.Position = UDim2.new(0.397, 0, 0.759, 0)
- Button3.Size = UDim2.new(0, 95, 0, 50)
- Button3.Text = "Sing"
- Button3.TextScaled = true
- Button3.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button3.TextColor3 = Color3.new(1, 1, 1)
- Button3.BorderSizePixel = 0
- Button4.Parent = master.PlayerGui.MyDummy
- Button4.Position = UDim2.new(0.397, 0, 0.859, 0)
- Button4.Size = UDim2.new(0, 95, 0, 50)
- Button4.Text = "Shut"
- Button4.TextScaled = true
- Button4.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button4.TextColor3 = Color3.new(1, 1, 1)
- Button4.BorderSizePixel = 0
- Button5.Parent = master.PlayerGui.MyDummy
- Button5.Position = UDim2.new(0.497, 0, 0.659, 0)
- Button5.Size = UDim2.new(0, 95, 0, 50)
- Button5.Text = "X"
- Button5.TextScaled = true
- Button5.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.435294)
- Button5.TextColor3 = Color3.new(1, 1, 1)
- Button5.BorderSizePixel = 0
- Button6.Parent = master.PlayerGui.MyDummy
- Button6.Position = UDim2.new(0.297, 0, 0.759, 0)
- Button6.Size = UDim2.new(0, 95, 0, 50)
- Button6.Text = "Follow"
- Button6.TextScaled = true
- Button6.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button6.TextColor3 = Color3.new(1, 1, 1)
- Button6.BorderSizePixel = 0
- Button7.Parent = master.PlayerGui.MyDummy
- Button7.Position = UDim2.new(0.297, 0, 0.859, 0)
- Button7.Size = UDim2.new(0, 95, 0, 50)
- Button7.Text = "Stop"
- Button7.TextScaled = true
- Button7.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button7.TextColor3 = Color3.new(1, 1, 1)
- Button7.BorderSizePixel = 0
- Button8.Parent = master.PlayerGui.MyDummy
- Button8.Position = UDim2.new(0.197, 0, 0.759, 0)
- Button8.Size = UDim2.new(0, 95, 0, 50)
- Button8.Text = "Inf"
- Button8.TextScaled = true
- Button8.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button8.TextColor3 = Color3.new(1, 1, 1)
- Button8.BorderSizePixel = 0
- Button9.Parent = master.PlayerGui.MyDummy
- Button9.Position = UDim2.new(0.397, 0, 0.659, 0)
- Button9.Size = UDim2.new(0, 95, 0, 50)
- Button9.Text = "Kiss"
- Button9.TextScaled = true
- Button9.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.435294)
- Button9.TextColor3 = Color3.new(1, 1, 1)
- Button9.BorderSizePixel = 0
- Button10.Parent = master.PlayerGui.MyDummy
- Button10.Position = UDim2.new(0.597, 0, 0.859, 0)
- Button10.Size = UDim2.new(0, 95, 0, 50)
- Button10.Text = "Spawn Map"
- Button10.TextScaled = true
- Button10.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
- Button10.TextColor3 = Color3.new(1, 1, 1)
- Button10.BorderSizePixel = 0
- --------------------------Gui
- text.TextColor3 = Torso.Color
- -----game
- -----final
- Wo.Parent = workspace
- Wo:MakeJoints()
- local mas1 = Wo:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- Wo:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- -----final
- -----functions
- local player = master
- local char = runner
- local Dummy = game.Workspace:FindFirstChild("MyDummy")
- local Gui = master.PlayerGui.MyDummy
- local Button1 = master.PlayerGui.MyDummy.Duplicate
- local Button2 = master.PlayerGui.MyDummy.Delete
- local Button3 = master.PlayerGui.MyDummy.Sing
- local Button4 = master.PlayerGui.MyDummy.Shut
- local Button5 = master.PlayerGui.MyDummy.Close
- local Button6 = master.PlayerGui.MyDummy.Follow
- local Button7 = master.PlayerGui.MyDummy.Stop
- local Button8 = master.PlayerGui.MyDummy.Inf
- local rposition = runner.Torso.Position
- local music = Instance.new("Sound")
- local light = Instance.new("PointLight")
- local talk = Dummy.Head.talk.TextBox.Text
- ---
- ---
- music.Looped = true
- Button1.MouseButton1Down:Connect(function()
- local clone = Dummy:clone()
- wait(0.5)
- clone.Parent = game.Workspace
- end)
- Button2.MouseButton1Down:Connect(function()
- local models = game.Workspace
- local light = game.Lighting
- models:ClearAllChildren()
- light:ClearAllChildren()
- end)
- Button3.MouseButton1Down:Connect(function()
- local mix = math.random(1, 6)
- music.Playing = false
- Dummy.Head.talk.TextBox.Text = "Yes master, ill sing for you"
- wait(1)
- if mix == 1 then
- Dummy.Head.talk.TextBox.Text = "Now Playing: Hatsune Miku - The Singing Passion of Hatsune Miku"
- music.Parent = Dummy.Head
- music.Playing = true
- music.Volume = 5
- music.SoundId = "rbxassetid://604911505"
- music.TimePosition = 0
- light.Parent = Dummy.Head
- light.Brightness = 2
- light.Range = 12
- light.Enabled = true
- light.Color = Color3.new(1, 0.666667, 1)
- end
- if mix == 2 then
- Dummy.Head.talk.TextBox.Text = "Now Playing: HATSUNE MIKU - MAIRIEUX"
- music.Parent = Dummy.Head
- music.Playing = true
- music.Volume = 5
- music.SoundId = "rbxassetid://6769399199"
- music.TimePosition = 0
- light.Parent = Dummy.Head
- light.Brightness = 2
- light.Range = 12
- light.Enabled = true
- light.Color = Color3.new(1, 0.333333, 0.498039)
- end
- if mix == 3 then
- Dummy.Head.talk.TextBox.Text = "Now Playing: Deltarune - Lost Girl (Noelle's Theme)"
- music.Parent = Dummy.Head
- music.Playing = true
- music.Volume = 5
- music.SoundId = "rbxassetid://4652222971"
- music.TimePosition = 0
- light.Parent = Dummy.Head
- light.Brightness = 2
- light.Range = 12
- light.Enabled = true
- light.Color = Color3.new(0.666667, 0.666667, 1)
- end
- if mix == 4 then
- Dummy.Head.talk.TextBox.Text = "Now Playing: Snails House - Pixel Galaxy"
- music.Parent = Dummy.Head
- music.Playing = true
- music.Volume = 5
- music.SoundId = "rbxassetid://1425570716"
- music.TimePosition = 0
- light.Parent = Dummy.Head
- light.Brightness = 2
- light.Range = 12
- light.Enabled = true
- light.Color = Color3.new(1, 0.666667, 0.498039)
- end
- if mix == 5 then
- Dummy.Head.talk.TextBox.Text = "Now Playing: DELTARUNE - End Credits Song"
- music.Parent = Dummy.Head
- music.Playing = true
- music.Volume = 5
- music.SoundId = "rbxassetid://2533289322"
- music.TimePosition = 0
- light.Parent = Dummy.Head
- light.Brightness = 2
- light.Range = 12
- light.Enabled = true
- light.Color = Color3.new(1, 0.666667, 0)
- end
- if mix == 6 then
- Dummy.Head.talk.TextBox.Text = "Now Playing: Space Junk Galaxy Music - Super Mario Galaxy"
- music.Parent = Dummy.Head
- music.Playing = true
- music.Volume = 5
- music.SoundId = "rbxassetid://154351646"
- music.TimePosition = 0
- light.Parent = Dummy.Head
- light.Brightness = 4
- light.Range = 12
- light.Enabled = true
- light.Color = Color3.new(0.333333, 1, 1)
- end
- Button4.MouseButton1Down:Connect(function()
- Dummy.Head.talk.TextBox.Text = "Yes master."
- Dummy.Head.Sound.Playing = false
- Dummy.Head.PointLight.Enabled = false
- wait(2)
- Dummy.Head.talk.TextBox.Text = "..."
- end)
- end)
- Button5.MouseButton1Down:Connect(function()
- master.PlayerGui.MyDummy:remove()
- end)
- Button6.MouseButton1Down:Connect(function()
- repeat
- Dummy.Head.talk.TextBox.Text = "Yes master, im coming"
- local humanoid = Dummy.Humanoid
- humanoid:MoveTo(runner.PrimaryPart.Position)
- wait(0.1)
- Button7.MouseButton1Down:Connect(function()
- Dummy.Head.talk.TextBox.Text = "Yes master."
- wait(1)
- Dummy.Head.talk.TextBox.Text = "..."
- end)
- until Dummy.Head.talk.TextBox.Text == "Yes master."
- print("ended")
- end)
- Button8.MouseButton1Down:Connect(function()
- Dummy.Humanoid.MaxHealth = math.huge
- Dummy.Humanoid.Health= math.huge
- Dummy.Head.talk.TextBox.Text = Dummy.Humanoid.Health
- wait(1)
- Dummy.Head.talk.TextBox.Text = "..."
- end)
- Button9.MouseButton1Down:Connect(function()
- Dummy.Head.talk.TextBox.Text = "M- Master"
- local fa = Instance.new("Decal")
- fa.Texture = "http://www.roblox.com/asset/?id=4529210191"
- fa.Parent = Dummy.Head
- local gig = Instance.new("Sound")
- gig.Parent = Dummy.Head
- gig.Volume = 5
- gig.Playing = true
- gig.SoundId = "http://www.roblox.com/asset/?id=5235559631"
- wait(2)
- Dummy.Head.talk.TextBox.Text = "..."
- fa:Destroy()
- end)
- Button10.MouseButton1Down:Connect(function()
- local spawnm = Instance.new("SpawnLocation")
- spawnm.Position = rposition
- spawnm.Anchored = true
- spawnm.Parent = game.Workspace
- spawnm.Size = Vector3.new(2048, 16, 2048)
- end)
- ------functions
Add Comment
Please, Sign In to add comment