Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("CubeMorph V1.1")
- print("Controls:")
- print(" ")
- print("Chat Commands")
- print("lostt, victory, lost, timer, saxo, stal, calm, chirp, sand, cat, blocks, wait, dorime, music;, stop, volum;, global, normal")
- print(" ")
- print("Left mouse button to grab")
- print("E-Move grabbed object UP")
- print("Q-Move grabbed object down")
- print("Z-Rotate grabbed object Left")
- print("X-Rotate grabbed object Right")
- print("C-MEDIC!!!")
- print(" ")
- print("Say in chat music;(music sound id) to play music")
- print("Say in chat stop; to stop music")
- print("Say in chat volum;(0-10) to control music volume")
- print(" ")
- print("V1.05")
- print("-Update: now you can rotate things left and right")
- print("-Update: added secret ")
- print(" ")
- print("V1.1")
- print("-Update: Optimization")
- print("-Update: MEDIC")
- print("Script made by dragen1576!")
- NLS([[
- local plr = game:GetService("Players").LocalPlayer
- local remote = plr.Character:WaitForChild("fat")
- local remote2 = plr.Character:WaitForChild("fater")
- local Mouse = plr:GetMouse()
- local Music = plr.Character.Torso:WaitForChild("Sound")
- Music:Clone()
- function mouseclick()
- local MouseTarg=Mouse.Target
- remote:FireServer(mospos, Mouse.Hit.p,plr.Character.Torso.CFrame:toObjectSpace(workspace.Camera.CFrame).lookVector, Mouse.Origin.p,workspace.Camera.CFrame,Music.PlaybackLoudness,Music.PlaybackLoudness,MouseTarg)
- end
- function click()
- remote2:FireServer("qq",1,1)
- end
- Mouse.Button1Down:connect(click)
- Mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "q" and cooldown==0 then
- cooldown=1
- remote2:FireServer("DOWN")
- elseif key == "e" and cooldown==0 then
- cooldown=1
- remote2:FireServer("UP")
- elseif key == "z" and cooldown==0 then
- cooldown=1
- remote2:FireServer("DOWNN")
- elseif key == "z" and cooldown==0 then
- cooldown=1
- remote2:FireServer("DOWNN")
- elseif key == "x" and cooldown==0 then
- cooldown=1
- remote2:FireServer("UPP")
- elseif key == "c" and cooldown==0 then
- cooldown=1
- remote2:FireServer("MEDIC!!!")
- end
- wait(0.5)
- cooldown=0
- end)
- while true do
- game:service("RunService").Stepped:wait()
- mouseclick()
- remote2:FireServer("ee",1,1)
- end
- ]], owner.Character)
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- sleeping=false
- Part1 = Instance.new("Part")
- Weld2 = Instance.new("Weld")
- Weld3 = Instance.new("Weld")
- Weld4 = Instance.new("Weld")
- Part5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part1.Name = "Headfake"
- Part1.Parent = owner.Character.Humanoid
- Part1.CFrame = CFrame.new(8.04998779, 8.25000381, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(8.04998779, 8.25000381, 45.8500061)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Size = Vector3.new(1.5, 1.5, 1.5)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Really black")
- Weld2.Name = "BTWeld"
- Weld2.Parent = Part1
- Weld2.C1 = CFrame.new(-0.375, 0, 0.150001526, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld2.Part0 = Part1
- Weld2.Part1 = Part7
- Weld3.Name = "BTWeld"
- Weld3.Parent = Part1
- Weld3.C1 = CFrame.new(0, -2.57492065e-05, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld3.Part0 = Part1
- Weld3.Part1 = Part5
- Weld4.Name = "BTWeld"
- Weld4.Parent = Part1
- Weld4.C1 = CFrame.new(0.375, 0, 0.150001526, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld4.Part0 = Part1
- Weld4.Part1 = Part8
- Part5.Parent = owner.Character.Humanoid
- Part5.CFrame = CFrame.new(8.04998779, 8.25002956, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part5.Position = Vector3.new(8.04998779, 8.25002956, 45.8500061)
- Part5.Color = Color3.new(1, 1, 1)
- Part5.Size = Vector3.new(1.5, 1.5, 1.5)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Institutional white")
- Part5.Material = Enum.Material.SmoothPlastic
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Institutional white")
- SpecialMesh6.Parent = Part5
- SpecialMesh6.MeshId = "http://www.roblox.com/Asset/?id=9856898"
- SpecialMesh6.Scale = Vector3.new(-3.25, -3.25, -3.25)
- SpecialMesh6.MeshType = Enum.MeshType.FileMesh
- Part7.Name = "Right eye"
- Part7.Parent = owner.Character.Humanoid
- Part7.CFrame = CFrame.new(8.42498779, 8.25000381, 45.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.Position = Vector3.new(8.42498779, 8.25000381, 45.7000046)
- Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part7.Size = Vector3.new(0.25, 0.5, 1.29999995)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Institutional white")
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Institutional white")
- Part8.Name = "Left eye"
- Part8.Parent = owner.Character.Humanoid
- Part8.CFrame = CFrame.new(7.67498779, 8.25000381, 45.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part8.Position = Vector3.new(7.67498779, 8.25000381, 45.7000046)
- Part8.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part8.Size = Vector3.new(0.25, 0.5, 1.29999995)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.BrickColor = BrickColor.new("Institutional white")
- Part8.Material = Enum.Material.SmoothPlastic
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.BrickColor = BrickColor.new("Institutional white")
- Part1.CanCollide=false
- Part8.CanCollide=false
- Part7.CanCollide=false
- Part5.CanCollide=false
- Part11.Parent = owner.Character.Humanoid
- Part11.CFrame = CFrame.new(6.04998779, 6.50002098, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.Position = Vector3.new(6.04998779, 6.50002098, 45.8500061)
- Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part11.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.BrickColor = BrickColor.new("Institutional white")
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.brickColor = BrickColor.new("Institutional white")
- SpecialMesh21.Parent = Part11
- SpecialMesh21.MeshId = "http://www.roblox.com/Asset/?id=9856898"
- SpecialMesh21.Scale = Vector3.new(-1.25, -1.25, -1.25)
- SpecialMesh21.MeshType = Enum.MeshType.FileMesh
- Weld31.Name = "BTWeld"
- Weld31.Parent = Part11
- Weld31.C1 = CFrame.new(0, 9.53674316e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld31.Part0 = Part11
- Weld31.Part1 = Part41
- Weld31.part1 = Part41
- Part41.Name = "LeftArm"
- Part41.Parent = owner.Character.Humanoid
- Part41.CFrame = CFrame.new(6.04998779, 6.50002003, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part41.Position = Vector3.new(6.04998779, 6.50002003, 45.8500061)
- Part41.Color = Color3.new(0, 0, 0)
- Part41.Size = Vector3.new(0.5, 0.5, 0.5)
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.BrickColor = BrickColor.new("Really black")
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.brickColor = BrickColor.new("Really black")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Weld3 = Instance.new("Weld")
- Part4 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part11.CanCollide=false
- Part41.CanCollide=false
- Part2.Parent = owner.Character.Humanoid
- Part2.CFrame = CFrame.new(10.0499878, 6.5000062, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(10.0499878, 6.5000062, 45.8500061)
- Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part2.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Institutional white")
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Institutional white")
- SpecialMesh2.Parent = Part2
- SpecialMesh2.MeshId = "http://www.roblox.com/Asset/?id=9856898"
- SpecialMesh2.Scale = Vector3.new(-1.25, -1.25, -1.25)
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Weld3.Name = "BTWeld"
- Weld3.Parent = Part2
- Weld3.C1 = CFrame.new(0, 2.38418579e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld3.Part0 = Part2
- Weld3.Part1 = Part4
- Weld3.part1 = Part4
- Part4.Name = "RightArm"
- Part4.Parent = owner.Character.Humanoid
- Part4.CFrame = CFrame.new(10.0499878, 6.50000381, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(10.0499878, 6.50000381, 45.8500061)
- Part4.Color = Color3.new(0, 0, 0)
- Part4.Size = Vector3.new(0.5, 0.5, 0.5)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Really black")
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Really black")
- Part131 = Instance.new("Part")
- Part331 = Instance.new("Part")
- Weld431 = Instance.new("Weld")
- Weld531 = Instance.new("Weld")
- Part131.Name = "rar"
- Part131.Parent = owner.Character.Humanoid
- Part131.CFrame = CFrame.new(9.29998779, 7.25002956, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part131.Position = Vector3.new(9.29998779, 7.25002956, 45.8500061)
- Part131.Transparency = 22
- Part131.Size = Vector3.new(1.5, 1.5, 1.5)
- Part131.BottomSurface = Enum.SurfaceType.Smooth
- Part131.CanCollide = false
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part231=Part1
- Part331.Name = "lal"
- Part331.Parent = owner.Character.Humanoid
- Part331.CFrame = CFrame.new(6.79998779, 7.25002956, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part331.Position = Vector3.new(6.79998779, 7.25002956, 45.8500061)
- Part331.Transparency = 22
- Part331.Size = Vector3.new(1.5, 1.5, 1.5)
- Part331.BottomSurface = Enum.SurfaceType.Smooth
- Part331.CanCollide = false
- Part331.TopSurface = Enum.SurfaceType.Smooth
- Weld431.Name = "BTWeld"
- Weld431.Parent = Part331
- Weld431.C1 = CFrame.new(-1.25, -0.999974251, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld431.Part0 = Part331
- Weld431.Part1 = Part231
- Weld431.part1 = Part231
- Weld531.Name = "BTWeld"
- Weld531.Parent = Part331
- Weld531.C1 = CFrame.new(-2.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld531.Part0 = Part331
- Weld531.Part1 = Part131
- Weld531.part1 = Part131
- Part4.CanCollide=false
- Part2.CanCollide=false
- BillboardGui0 = Instance.new("BillboardGui")
- TextLabel1 = Instance.new("TextLabel")
- TextLabel2 = Instance.new("TextLabel")
- BillboardGui0.Parent = Part1
- BillboardGui0.LightInfluence = 1
- BillboardGui0.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui0.Active = true
- BillboardGui0.ClipsDescendants = true
- BillboardGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- BillboardGui0.StudsOffset = Vector3.new(0, 2, 0)
- TextLabel1.Parent = BillboardGui0
- TextLabel1.Size = UDim2.new(0, 200, 0, 50)
- TextLabel1.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel1.BackgroundTransparency = 0
- TextLabel1.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel1.Font = Enum.Font.SourceSans
- TextLabel1.FontSize = Enum.FontSize.Size14
- TextLabel1.Text = "MEDIC!"
- TextLabel1.TextColor = BrickColor.new("Really black")
- TextLabel1.TextColor3 = Color3.new(0, 0, 0)
- TextLabel1.TextScaled = true
- TextLabel1.TextSize = 14
- TextLabel1.TextWrap = true
- TextLabel1.TextWrapped = true
- TextLabel2.Parent = BillboardGui0
- TextLabel2.Size = UDim2.new(0, 200, 0, 50)
- TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel2.BackgroundTransparency = 0
- TextLabel2.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel2.Font = Enum.Font.SourceSans
- TextLabel2.FontSize = Enum.FontSize.Size14
- TextLabel2.Text = "DOCTOR"
- TextLabel2.TextColor = BrickColor.new("Really black")
- TextLabel2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel2.TextScaled = true
- TextLabel2.TextSize = 14
- TextLabel2.TextWrap = true
- TextLabel2.TextWrapped = true
- TextLabel2.Visible=false
- TextLabel1.Visible=false
- --[[
- SpecialMesh6
- SpecialMesh21
- SpecialMesh2
- --]]
- Part1312 = Instance.new("Part")
- SpecialMesh222 = Instance.new("SpecialMesh")
- Weld4312 = Instance.new("Weld")
- Part1312.Name = "Handle"
- Part1312.Transparency=1
- Part1312.Parent = owner.Character.Humanoid
- Part1312.CFrame = CFrame.new(8.1398077, 6.27500963, 44.1000061, 1, 0, 0, 0, -2.98023224e-08, 0.999999821, 0, -0.999999821, -2.98023224e-08)
- Part1312.Orientation = Vector3.new(-89.9700012, 180, 180)
- Part1312.Position = Vector3.new(8.1398077, 6.27500963, 44.1000061)
- Part1312.Rotation = Vector3.new(-90, 0, 0)
- Part1312.Color = Color3.new(0, 0.560784, 0.611765)
- Part1312.Size = Vector3.new(0.610000014, 2.18999934, 3.74999857)
- Part1312.BrickColor = BrickColor.new("Bright bluish green")
- Part1312.CanCollide = false
- Part1312.Locked = true
- Part1312.brickColor = BrickColor.new("Bright bluish green")
- Part1312.FormFactor = Enum.FormFactor.Custom
- Part1312.formFactor = Enum.FormFactor.Custom
- SpecialMesh222.Parent = Part1312
- SpecialMesh222.MeshId = "http://www.roblox.com/asset/?id=44410178"
- SpecialMesh222.Scale = Vector3.new(2, 2, 2)
- SpecialMesh222.TextureId = "http://www.roblox.com/asset/?id=44410320"
- SpecialMesh222.MeshType = Enum.MeshType.FileMesh
- Weld4312.Name = "BTWeld"
- Weld4312.Parent = Part1
- Weld4312.C1 = CFrame.new(-0.0898199081, -1.75, 1.97499275, 1, 0, 0, 0, -2.98023117e-08, -0.999999464, 0, 0.999999464, -2.98023117e-08)
- Weld4312.Part0 = Part1
- Weld4312.Part1 = Part1312
- Weld4312.part1 = Part1312
- local Music=Instance.new("Sound",owner.Character.Torso)
- Music.SoundId="rbxassetid://0"
- Music.Looped=true
- Music.Volume=7
- local Music2=Instance.new("Sound",owner.Character)
- Music2.SoundId="rbxassetid://897063944"
- Music2.Looped=false
- Music2.Volume=7
- owner.Character["Right Arm"]:Destroy()
- owner.Character["Left Arm"]:Destroy()
- for i,v in pairs(owner.Character:children()) do
- if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
- v:Destroy()
- end
- end
- owner.Character.Humanoid.Animator.Parent=nil
- for i,v in pairs(owner.Character.Torso:children()) do
- if v:IsA("Motor6D") and v.Name~=Neck then
- v.C0=CFrame.new(owner.Character.Torso.Neck.C0.X,owner.Character.Torso.Neck.C0.Y,owner.Character.Torso.Neck.C0.Z)
- end
- end
- for i,v in pairs(owner.Character:children()) do
- if v:IsA("Part") then
- v.Transparency=1
- end
- end
- function Chatted(MusicPart,SoundID,Mode)
- MusicPart.SoundId="rbxassetid://"..SoundID
- MusicPart:Play()
- if Mode==false then
- Part1312.Transparency=1
- elseif Mode==true then
- Part1312.Transparency=0
- end
- end
- owner.Chatted:connect(function(msg)
- if msg:sub(1,7):lower() == "lostt" then
- Chatted(Music2,1407089380,false)
- elseif msg:sub(1,7):lower() == "victory" then
- Chatted(Music2,897063944,false)
- elseif msg:sub(1,7):lower() == "lost" then
- Chatted(Music2,161251304,false)
- elseif msg:sub(1,7):lower() == "purple" then
- Chatted(Music2,4860788494,false)
- elseif msg:sub(1,5):lower() == "timer" then
- Chatted(Music2,357644762,false)
- elseif msg:sub(1,6):lower() == "saxo" then
- Chatted(Music,487941512,true)
- elseif msg:sub(1,6):lower() == "stal" then
- Chatted(Music,3581586451,false)
- elseif msg:sub(1,6):lower() == "calm" then
- Chatted(Music,273580309,false)
- elseif msg:sub(1,6):lower() == "chirp" then
- Chatted(Music,3225701810,false)
- elseif msg:sub(1,6):lower() == "sand" then
- Chatted(Music,4418536638,false)
- elseif msg:sub(1,6):lower() == "cat" then
- Chatted(Music,559923778,false)
- elseif msg:sub(1,6):lower() == "blocks" then
- Chatted(Music,3645059009,false)
- elseif msg:sub(1,6):lower() == "wait" then
- Chatted(Music,3497446695,false)
- elseif msg:sub(1,6):lower() == "dorime" then
- Chatted(Music,4361093477,false)
- elseif msg:sub(1,6):lower() == "music;" then
- local Id = string.sub(7,msg)
- print("MusicId changed to "..Id)
- Chatted(Music,Id,false)
- elseif msg:sub(1,6):lower() == "stop;" then
- Chatted(Music,0,false)
- print("Music stopped")
- elseif msg:sub(1,6):lower() == "volum;" then
- local vol = string.sub(msg:sub(),7)
- Music.Volume=vol
- print("Volume set "..vol)
- elseif msg:sub(1,6):lower() == "global" then
- Music:Stop()
- Music2:Stop()
- Music.Parent=owner.Character
- print("global")
- elseif msg:sub(1,6):lower() == "normal" then
- Music:Stop()
- Music2:Stop()
- Music.Parent=owner.Character.Torso
- print("normal")
- end
- end)
- Aimpart=Instance.new("Part",owner.Character.Humanoid)
- Aimpart.Size=Vector3.new(0.05,0.05,0.05)
- Aimpart.Anchored=false
- Aimpart.CanCollide=false
- Aimpart.Transparency=1
- local remote = Instance.new("RemoteEvent", owner.Character)
- remote.Name = "fat"
- local remote2 = Instance.new("RemoteEvent", owner.Character)
- remote2.Name = "fater"
- local HeadBP = Instance.new("BodyPosition", Part1)
- HeadBP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- local HeadBP2 = Instance.new("BodyPosition", Part1)
- HeadBP2.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- local HeadBG = Instance.new("BodyGyro", Part1)
- HeadBG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- local LABP = Instance.new("BodyPosition", Part41)
- LABP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- local LABG = Instance.new("BodyGyro",Part41)
- LABG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- local RABP = Instance.new("BodyPosition", Part4)
- RABP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- local RABG = Instance.new("BodyGyro",Part4)
- RABG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- blink=0
- sine=0
- owner.Character.Head.CanCollide=false
- owner.Character.Torso.CanCollide=false
- blinked=false
- anch=false
- grebpos=4
- sleeping=false
- OrientationWEW=0
- MEDIC1=Instance.new("Sound",owner.Character.Torso)
- MEDIC1.SoundId="rbxassetid://435756181"
- MEDIC1.Looped=false
- MEDIC1.Volume=5
- local flange1 = Instance.new("FlangeSoundEffect", MEDIC1)
- flange1.Depth = 4
- flange1.Mix =4
- flange1.Rate = 4
- --MEDIC2.SoundId="rbxassetid://435756212"
- --MEDIC3.SoundId="rbxassetid://435756249"
- function MEDIC()
- poop=math.random(0,1)
- if poop==0 then
- TextLabel1.Visible=true
- TextLabel1.Text="DOCTOR!"
- MEDIC1.SoundId="rbxassetid://435756181"
- MEDIC1:Play()
- elseif poop==1 then
- poop2= math.random(1,2)
- if poop2==1 then
- TextLabel1.Visible=true
- TextLabel1.Text="MEDIC!"
- MEDIC1.SoundId="rbxassetid://435756212"
- MEDIC1:Play()
- elseif poop2==2 then
- TextLabel1.Visible=true
- TextLabel1.Text="MEDIC!"
- MEDIC1.SoundId="rbxassetid://435756249"
- MEDIC1:Play()
- end
- end
- wait(1)
- TextLabel2.Visible=false
- TextLabel1.Visible=false
- end
- clicked=false
- welded=false
- --[[
- Aimpart.Touched:Connect(function(hit)
- function grab()
- if clicked==true and welded==false and hit~=nil then
- wew=Instance.new("Weld",owner.Character.Humanoid)
- wew.Part0=Part4
- wew.Part1=hit
- welded=true
- hit=nil
- elseif welded==true then
- wew:Destroy()
- welded=false
- hit=nil
- end
- end
- end)
- --]]
- --Crimson_Knights=cool
- welded=false
- function grab(part)
- if welded==false then
- if part~=nil and part.Name~="CMain" and part.Name~="CSub" and part.Parent.Name~="Crimson_Knights" then
- wew=Instance.new("Weld",owner.Character.Humanoid)
- wew.Part0=Part4
- wew.Part1=part
- wew.C0=CFrame.new(wew.C0.X,wew.C0.Y-part.Size.Y+part.Size.Y/2,wew.C0.Z)
- welded=true
- -- do weld stuff here
- end
- else
- welded=false
- wew:Destroy()
- end
- end
- remote.OnServerEvent:connect(function(Ployrr, whatt, mosposs,curcam,mosorg,cameracf,cameracff,Vol,mostarg)
- if whatt==mospos then
- sine=sine+0.01
- mostargg=mostarg
- Aimpart.Position=mosposs
- if owner.Character.Head:findFirstChildOfClass("Decal") then
- owner.Character.Head:findFirstChildOfClass("Decal"):Destroy()
- end
- if welded==false then
- HeadBG.CFrame=CFrame.new(Part1.Position,mosposs)
- elseif welded==true then
- HeadBG.CFrame=CFrame.new(Part1.Position,Part4.Position)
- end
- SpecialMesh222.Scale=Vector3.new(2, 2, 2)+Vector3.new(Vol,Vol,Vol)/1000
- SpecialMesh6.Scale=Vector3.new(-3.25, -3.25, -3.25)-Vector3.new(Vol,Vol,Vol)/1000
- SpecialMesh21.Scale=Vector3.new(-1.25, -1.25, -1.25)-Vector3.new(Vol,Vol,Vol)/1000
- SpecialMesh2.Scale=Vector3.new(-1.25, -1.25, -1.25)-Vector3.new(Vol,Vol,Vol)/1000
- --eyes part7,part8
- if sleeping==false then
- HeadBP.Position = owner.Character.Torso.Position+Vector3.new(0,Vol/100,0)
- end
- LABP.Position = Part331.Position
- LABG.CFrame = Part331.CFrame
- if welded==false then
- RABP.Position = Part131.Position
- RABG.CFrame = Part131.CFrame
- else
- RABP.Position = Aimpart.Position+Vector3.new(0,grebpos,0)
- RABG.CFrame = Aimpart.CFrame*CFrame.Angles(0,OrientationWEW,0)
- end
- end
- end)
- remote2.OnServerEvent:connect(function(Ployrr, whatt)
- if whatt=="qq" then
- clicked=true
- grab(mostargg)
- --print(mostargg)
- --print(mostargg.Size.Y)
- wait(0.1)
- clicked=false
- elseif whatt=="UP" then
- grebpos=grebpos+1
- elseif whatt=="DOWN" then
- grebpos=grebpos-1
- elseif whatt=="UPP" then
- OrientationWEW=OrientationWEW+1
- elseif whatt=="DOWNN" then
- OrientationWEW=OrientationWEW-1
- elseif whatt=="MEDIC!!!" then
- MEDIC()
- end
- end)
Add Comment
Please, Sign In to add comment