Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ILL MAKE A GREAT WALL
- plr = game.Players.LocalPlayer
- char = plr.Character
- rig = char.Torso
- mouse = plr:GetMouse()
- hair = Instance.new("Part", char.Head)
- hair.CanCollide = false
- mesh = Instance.new("SpecialMesh", hair)
- mesh.MeshId = "rbxassetid://1323306"
- mesh.TextureId = "rbxassetid://1323305"
- weld = Instance.new("Weld", hair)
- weld.Part1 = hair
- weld.Part0 = char.Head
- mesh.Scale = Vector3.new(1,1,1)
- weld.C0 = weld.C0 * CFrame.new(0,0.3,0)
- music = Instance.new("Sound", rig)
- music.SoundId = "http://roblox.com/asset?id=169869850"
- music.Looped = true
- music.Volume = 2
- music1 = Instance.new("Sound", rig)
- music1.SoundId = "http://www.roblox.com/asset/?id=268249319"
- music1.Looped = true
- music1.Volume = 10
- music:Play()
- music11 = Instance.new("Sound", rig)
- music11.SoundId = "rbxassetid://378126370"
- music11.Looped = true
- music11.Volume = 30
- print(char.HumanoidRootPart.RootJoint.C0)
- for i = 1,10 do
- wait()
- char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.009,0,0)
- char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.009,0,0)
- char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.009,0,0)
- char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.009,0,0)
- end
- wait(1)
- wall = false
- print(rig["Right Shoulder"].C0)
- function key(key)
- key = key:lower()
- if not wall then
- if key == "q" then
- wall = true
- game.Chat:Chat(char.Head,"Dat Ice Wall Coming right up :3","Green")
- for i = 1,10 do
- wait()
- char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.2)
- end
- wait(2)
- local WALL = Instance.new("Part",rig)
- WALL.Anchored = true
- WALL.CanCollide = false
- WALL.Position = rig.Position
- WALL.CFrame = WALL.CFrame * CFrame.new(0,-70,45)
- WALL.Size = Vector3.new(1000,100,75)
- WALL.Material = "Ice"
- WALL.BrickColor = BrickColor.new("Light blue")
- WALL.CanCollide = true
- music1:Play()
- for i = 1,200 do
- wait(0.01)
- WALL.CanCollide = true
- char.Humanoid.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
- WALL.CFrame = WALL.CFrame * CFrame.new(0,0.3,0)
- end
- wall = false
- music1:Stop()
- char.Humanoid.CameraOffset = Vector3.new(0,0,0)
- wait(2)
- for i = 1,10 do
- wait()
- char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.2)
- end
- char.Humanoid.WalkSpeed = 16
- char.Humanoid.JumpPower = 50
- wait(60)
- music1:Play()
- wall = false
- for i = 1,200 do
- wait(0.01)
- WALL.CFrame = WALL.CFrame * CFrame.new(0,-0.3,0)
- end
- music1:Stop()
- WALL:destroy()
- end
- end
- if key == "e" then
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- for i = 1,10 do
- wait()
- char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.3)
- end
- music11:Play()
- game.Chat:Chat(char.Head,"ILELIOILELI","Green")
- end
- end
- function nuchina(key)
- key = key:lower()
- if key == "e" then
- for i = 1,10 do
- wait()
- char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.3)
- end
- char.Humanoid.WalkSpeed = 16
- char.Humanoid.JumpPower = 50
- rig["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, -0.0898785666, 0.995952964, 0, 0.995952964, 0.0898785666, -1, 0, 0)
- music11:Stop()
- end
- end
- mouse.KeyUp:connect(nuchina)
- mouse.KeyDown:connect(key)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement