From 6a23c0434c707c88024c76d4110605f414cb225b Mon Sep 17 00:00:00 2001 From: Bitl Date: Tue, 24 Sep 2019 04:58:51 -0700 Subject: [PATCH] updated 3dview --- 3DView.rbxl | 1452 +++++++++++++++++++++++++++++++++++++++++++++++++++ CSView.lua | 33 -- 2 files changed, 1452 insertions(+), 33 deletions(-) create mode 100644 3DView.rbxl diff --git a/3DView.rbxl b/3DView.rbxl new file mode 100644 index 0000000..de5f6d2 --- /dev/null +++ b/3DView.rbxl @@ -0,0 +1,1452 @@ + + null + nil + + + RBX1 + 28.400001481175423 + + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + Workspace + null + true + + + + + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + Base + null + true + + + + true + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 194 + + 0 + 6.19999981 + -0.5 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + true + false + 0.5 + 2 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + 256 + baseplate + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 0 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 18 + 0.400000006 + 18 + + + + + + false + true + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 4 + 0 + 194 + + 0 + 8.79999828 + -0.5 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + false + false + 0 + 0.5 + 2 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + 256 + SpawnLocation + true + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + 194 + -0.5 + 0.5 + 3 + 0 + 1 + + 0 + 0 + 0 + + true + 1 + + 6 + 4.80000019 + 1 + + + + + + true + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 194 + + 0 + 13.4000006 + 7.92000008 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + 256 + Part + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 0 + 0 + 1 + + 0 + 0 + 0 + + true + 1 + + 16 + 14 + 1 + + + + + + true + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 194 + + 0 + 13.3999996 + -8.92000008 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + 256 + Part + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 0 + 0 + 1 + + 0 + 0 + 0 + + true + 1 + + 16 + 14 + 1 + + + + + + true + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 194 + + 8.56000042 + 13.400053 + -0.5 + 0 + 0 + 1 + 0 + 1 + 0 + -1 + 0 + 0 + + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + 256 + Part + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 0 + 0 + 1 + + 0 + 0 + 0 + + true + 1 + + 16 + 14 + 1 + + + + + + true + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 194 + + -8.56000042 + 13.3999996 + -0.5 + 0 + 0 + 1 + 0 + 1 + 0 + -1 + 0 + 0 + + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + 256 + Part + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 0 + 0 + 1 + + 0 + 0 + 0 + + true + 1 + + 16 + 14 + 1 + + + + + + + null + 0 + + 32.7148514 + 18.5118027 + -4.19532967 + -0.204456434 + -0.188451588 + 0.960564196 + -3.72529074e-009 + 0.98129344 + 0.192518398 + -0.978875756 + 0.0393616222 + -0.200631723 + + + 13.5036697 + 14.6614552 + -0.18271637 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + Camera + true + + + + + + Run Service + true + + + RBX10 + RBX11 + + + Instance + true + + + + + ContentFilter + true + + + + + Instance + true + + + + + GuiService + true + + + + + 12 + Players + true + + + + + StarterPack + true + + + + + StarterGui + true + true + + + + 3DViewUI + true + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + Transparency + + 1 + -155 + 1 + -50 + + false + + 0 + 150 + 0 + 20 + + 0 + Change Base Transparency + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function onClicked() + if (game.Workspace.Base.baseplate.Transparency == 0) then + game.Workspace.Base.baseplate.Transparency = 0.5 + elseif (game.Workspace.Base.baseplate.Transparency == 0.5) then + game.Workspace.Base.baseplate.Transparency = 1 + elseif (game.Workspace.Base.baseplate.Transparency == 1) then + game.Workspace.Base.baseplate.Transparency = 0 + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + BackgroundColor + + 1 + -155 + 1 + -75 + + false + + 0 + 150 + 0 + 20 + + 0 + Change Background Color + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function onClicked() + if (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/modernsky512_bk.png") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/red.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/red.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/green.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/green.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/green.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/green.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/green.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/green.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/green.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/orange.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/orange.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/orange.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/orange.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/orange.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/orange.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/orange.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/black.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/black.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/black.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/black.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/black.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/black.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/black.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/white.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/white.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/white.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/white.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/white.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/white.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/white.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/greenscreen.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/greenscreen.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/greenscreen.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/greenscreen.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/greenscreen.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/greenscreen.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/greenscreen.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/blue.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/blue.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/blue.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/blue.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/blue.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/blue.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/blue.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/plainsky512_bk.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/plainsky512_dn.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/plainsky512_ft.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/plainsky512_lf.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/plainsky512_rt.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/plainsky512_up.jpg" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/plainsky512_bk.jpg") then + game.Lighting.Sky.SkyboxBk = "rbxasset://../../../shareddata/sky/GreySky_bk.png" + game.Lighting.Sky.SkyboxDn = "rbxasset://../../../shareddata/sky/GreySky_dn.png" + game.Lighting.Sky.SkyboxFt = "rbxasset://../../../shareddata/sky/GreySky_ft.png" + game.Lighting.Sky.SkyboxLf = "rbxasset://../../../shareddata/sky/GreySky_lf.png" + game.Lighting.Sky.SkyboxRt = "rbxasset://../../../shareddata/sky/GreySky_rt.png" + game.Lighting.Sky.SkyboxUp = "rbxasset://../../../shareddata/sky/GreySky_up.png" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://../../../shareddata/sky/GreySky_bk.png") then + game.Lighting.Sky.SkyboxBk = "rbxasset://../../../shareddata/sky/redsky512_bk.png" + game.Lighting.Sky.SkyboxDn = "rbxasset://../../../shareddata/sky/redsky512_dn.png" + game.Lighting.Sky.SkyboxFt = "rbxasset://../../../shareddata/sky/redsky512_ft.png" + game.Lighting.Sky.SkyboxLf = "rbxasset://../../../shareddata/sky/redsky512_lf.png" + game.Lighting.Sky.SkyboxRt = "rbxasset://../../../shareddata/sky/redsky512_rt.png" + game.Lighting.Sky.SkyboxUp = "rbxasset://../../../shareddata/sky/redsky512_up.png" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://../../../shareddata/sky/redsky512_bk.png") then + game.Lighting.Sky.SkyboxBk = "rbxasset://../../../shareddata/sky/darksky512_bk.png" + game.Lighting.Sky.SkyboxDn = "rbxasset://../../../shareddata/sky/darksky512_dn.png" + game.Lighting.Sky.SkyboxFt = "rbxasset://../../../shareddata/sky/darksky512_ft.png" + game.Lighting.Sky.SkyboxLf = "rbxasset://../../../shareddata/sky/darksky512_lf.png" + game.Lighting.Sky.SkyboxRt = "rbxasset://../../../shareddata/sky/darksky512_rt.png" + game.Lighting.Sky.SkyboxUp = "rbxasset://../../../shareddata/sky/darksky512_up.png" + elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://../../../shareddata/sky/darksky512_bk.png") then + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/modernsky512_bk.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/modernsky512_dn.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/modernsky512_ft.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/modernsky512_lf.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/modernsky512_rt.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/modernsky512_up.jpg" + else + game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/red.jpg" + game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/red.jpg" + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + PoseDefault + + 1 + -155 + 1 + -150 + + false + + 0 + 45 + 0 + 20 + + 0 + Default + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local character = plr.Character + local Figure = character + local Torso = waitForChild(Figure, "Torso") + local RightShoulder = waitForChild(Torso, "Right Shoulder") + local LeftShoulder = waitForChild(Torso, "Left Shoulder") + local RightHip = waitForChild(Torso, "Right Hip") + local LeftHip = waitForChild(Torso, "Left Hip") + local Neck = waitForChild(Torso, "Neck") + local Humanoid = waitForChild(Figure, "Humanoid") + + local function moveDefault() + RightShoulder.DesiredAngle = 0 + LeftShoulder.DesiredAngle = 0 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + end + + moveDefault() + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + PoseRun + + 1 + -101 + 1 + -150 + + false + + 0 + 42 + 0 + 20 + + 0 + Run + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local character = plr.Character + local Figure = character + local Torso = waitForChild(Figure, "Torso") + local RightShoulder = waitForChild(Torso, "Right Shoulder") + local LeftShoulder = waitForChild(Torso, "Left Shoulder") + local RightHip = waitForChild(Torso, "Right Hip") + local LeftHip = waitForChild(Torso, "Left Hip") + local Neck = waitForChild(Torso, "Neck") + local Humanoid = waitForChild(Figure, "Humanoid") + + RightShoulder.DesiredAngle = 0 + LeftShoulder.DesiredAngle = 0 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + + local function move(time) + local amplitude + local frequency + + RightShoulder.MaxVelocity = 0.15 + LeftShoulder.MaxVelocity = 0.15 + amplitude = 1 + frequency = 9 + + local desiredAngle = amplitude * math.sin(time*frequency) + + RightShoulder.DesiredAngle = desiredAngle + LeftShoulder.DesiredAngle = desiredAngle + RightHip.DesiredAngle = -desiredAngle + LeftHip.DesiredAngle = -desiredAngle + end + + move(wait(0.1)) + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + PoseJump + + 1 + -50 + 1 + -150 + + false + + 0 + 45 + 0 + 20 + + 0 + Jump + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local character = plr.Character + local Figure = character + local Torso = waitForChild(Figure, "Torso") + local RightShoulder = waitForChild(Torso, "Right Shoulder") + local LeftShoulder = waitForChild(Torso, "Left Shoulder") + local RightHip = waitForChild(Torso, "Right Hip") + local LeftHip = waitForChild(Torso, "Left Hip") + local Neck = waitForChild(Torso, "Neck") + local Humanoid = waitForChild(Figure, "Humanoid") + + RightShoulder.DesiredAngle = 0 + LeftShoulder.DesiredAngle = 0 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + + local function moveJump() + RightShoulder.MaxVelocity = 0.5 + LeftShoulder.MaxVelocity = 0.5 + RightShoulder.DesiredAngle = 3.14 + LeftShoulder.DesiredAngle = -3.14 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + end + + moveJump() + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + PoseLunge + + 1 + -155 + 1 + -125 + + false + + 0 + 45 + 0 + 20 + + 0 + Lunge + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local character = plr.Character + local Figure = character + local Torso = waitForChild(Figure, "Torso") + local RightShoulder = waitForChild(Torso, "Right Shoulder") + local LeftShoulder = waitForChild(Torso, "Left Shoulder") + local RightHip = waitForChild(Torso, "Right Hip") + local LeftHip = waitForChild(Torso, "Left Hip") + local Neck = waitForChild(Torso, "Neck") + local Humanoid = waitForChild(Figure, "Humanoid") + + RightShoulder.DesiredAngle = 0 + LeftShoulder.DesiredAngle = 0 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + + local function moveLunge() + RightShoulder.MaxVelocity = 0.5 + LeftShoulder.MaxVelocity = 0.5 + RightHip.MaxVelocity = 0.5 + LeftHip.MaxVelocity = 0.5 + RightShoulder.DesiredAngle = 1.57 + LeftShoulder.DesiredAngle = 1.0 + RightHip.DesiredAngle = 1.57 + LeftHip.DesiredAngle = 1.0 + end + + moveLunge() + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + PoseSit + + 1 + -101 + 1 + -125 + + false + + 0 + 42 + 0 + 20 + + 0 + Sit + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local character = plr.Character + local Figure = character + local Torso = waitForChild(Figure, "Torso") + local RightShoulder = waitForChild(Torso, "Right Shoulder") + local LeftShoulder = waitForChild(Torso, "Left Shoulder") + local RightHip = waitForChild(Torso, "Right Hip") + local LeftHip = waitForChild(Torso, "Left Hip") + local Neck = waitForChild(Torso, "Neck") + local Humanoid = waitForChild(Figure, "Humanoid") + + RightShoulder.DesiredAngle = 0 + LeftShoulder.DesiredAngle = 0 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + + local function moveSit() + RightShoulder.MaxVelocity = 0.15 + LeftShoulder.MaxVelocity = 0.15 + RightShoulder.DesiredAngle = 3.14 /2 + LeftShoulder.DesiredAngle = -3.14 /2 + RightHip.DesiredAngle = 3.14 /2 + LeftHip.DesiredAngle = -3.14 /2 + end + + moveSit() + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + ChangeWalkSpeed + + 1 + -155 + 1 + -100 + + false + + 0 + 150 + 0 + 20 + + 0 + Change Walk Speed + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local human = plr.Character.Humanoid + + if (human.WalkSpeed == 0) then + human.WalkSpeed = 4 + elseif (human.WalkSpeed == 4) then + human.WalkSpeed = 8 + elseif (human.WalkSpeed == 8) then + human.WalkSpeed = 16 + elseif (human.WalkSpeed == 16) then + human.WalkSpeed = 0 + end + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + true + true + 4288914085 + 0.300000012 + 4279970357 + 0 + 0 + PoseZombie + + 1 + -50 + 1 + -125 + + false + + 0 + 45 + 0 + 20 + + 0 + Zombie + 4279970357 + 0 + false + 2 + 1 + true + 1 + true + + + + false + + LocalScript + function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function onClicked() + local plr = game.Players.LocalPlayer + + if (plr ~= nil) then + local character = plr.Character + local Figure = character + local Torso = waitForChild(Figure, "Torso") + local RightShoulder = waitForChild(Torso, "Right Shoulder") + local LeftShoulder = waitForChild(Torso, "Left Shoulder") + local RightHip = waitForChild(Torso, "Right Hip") + local LeftHip = waitForChild(Torso, "Left Hip") + local Neck = waitForChild(Torso, "Neck") + local Humanoid = waitForChild(Figure, "Humanoid") + + RightShoulder.DesiredAngle = 0 + LeftShoulder.DesiredAngle = 0 + RightHip.DesiredAngle = 0 + LeftHip.DesiredAngle = 0 + + local function moveZombieWalk(time) + local amplitude + local frequency + + RightShoulder.MaxVelocity = 0.15 + LeftShoulder.MaxVelocity = 0.15 + RightShoulder.DesiredAngle = 3.14 /2 + LeftShoulder.DesiredAngle = -3.14 /2 + amplitude = 1 + frequency = 9 + + local desiredAngle = amplitude * math.sin(time*frequency) + + RightHip.DesiredAngle = -desiredAngle + LeftHip.DesiredAngle = -desiredAngle + end + + moveZombieWalk(wait(0.1)) + end +end + +script.Parent.MouseButton1Down:connect(onClicked) + true + + + + + + + + 0 + 10 + 1 + Soundscape + 1 + true + + RBX39 + RBX40 + RBX41 + RBX42 + RBX43 + RBX44 + RBX45 + RBX46 + RBX47 + RBX48 + RBX49 + RBX50 + RBX51 + RBX52 + + + + PhysicsService + true + + + + + BadgeService + true + + + + + Geometry + true + + + RBX56 + + + 1000 + Debris + true + + + + + Instance + true + + + + + Instance + true + + + RBX60 + + + Selection + true + + + RBX62 + RBX63 + + + 4288453788 + 1 + 4278190080 + 4278190080 + 41.7332993 + Lighting + 4291809236 + 14:00:00 + true + + + + false + Sky + rbxasset://Sky/null_plainsky512_bk.jpg + rbxasset://Sky/null_plainsky512_dn.jpg + rbxasset://Sky/null_plainsky512_ft.jpg + rbxasset://Sky/null_plainsky512_lf.jpg + rbxasset://Sky/null_plainsky512_rt.jpg + rbxasset://Sky/null_plainsky512_up.jpg + 3000 + true + + + + + + ChangeHistoryService + true + + + \ No newline at end of file diff --git a/CSView.lua b/CSView.lua index 8dcaeab..2470436 100644 --- a/CSView.lua +++ b/CSView.lua @@ -1,36 +1,3 @@ -_G.rawset=nil -function readonlytable(table) - return setmetatable({}, { - __index = table, - __newindex = function(table, key, value) - error("Attempt to modify read-only table") - end, - __metatable = false - }); -end - -function readonlytablechildren(table) - for i,v in pairs(table) do - if type(v)=="table" and table[i]~=_G._G then - readonlytablechildren(table[i]) - table[i] = readonlytable(table[i]) - end - if type(v)=="userdata" then - local mt = getmetatable(table[i]) - if mt~=nil and mt~=false then - mt.__metatable=false - end - end - end -end - -readonlytablechildren(_G) -_G._G = readonlytable(_G) -mt = getmetatable(game.Changed) -mt.__metatable=false -mt = getmetatable("curse you roblox") -mt.__metatable=false - --function made by rbxbanland function newWaitForChild(newParent,name) local returnable = nil