Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn("Created By Subaru112")
- warn("Edited By Mediakiller7")
- warn("I Edited This For Him C:")
- local char = owner.Character
- for i,v in pairs(char:GetChildren()) do
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "Decal" then
- s:Destroy()
- end
- end
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = 0.8
- v.Handle.Material = "Glass"
- v.Handle:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- v.Handle.BrickColor = BrickColor.new("Medium stone gray")
- end
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = 0.8
- v.Material = "Glass"
- v.BrickColor = BrickColor.new("Medium stone gray")
- end
- end
- end
- while true do
- wait()
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "CharacterMesh" or v.ClassName == "Shirt" or v.ClassName == "Pants" then
- v:Destroy()
- end
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "Decal" then
- s:Destroy()
- end
- end
- if v.ClassName == "Model" then
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "Part" or s.ClassName == "MeshPart" then
- if not(s.Name == "HumanoidRootPart") then
- s.Transparency = 0.8
- s.Material = "Glass"
- s.BrickColor = BrickColor.new("Medium stone gray")
- end
- end
- end
- end
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = 0.8
- v.Material = "Glass"
- v.BrickColor = BrickColor.new("Medium stone gray")
- end
- end
- end
- end
- -This Script is maked by Subaru Plz Dont Call me Copyer--
- local plr = owner
- local char = plr.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local remote = Instance.new("RemoteEvent", char)
- remote.Name = "ReplicationEvent"
- local client = NLS([==[
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- spawn(function()
- while game:GetService("RunService").Heartbeat:Wait() do
- remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- end
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
- if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
- remote:FireServer(1, input.KeyCode)
- end
- end)
- mouse.Button1Down:Connect(function()
- remote:FireServer(2)
- end)
- remote.OnClientEvent:Connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
- end)
- ]==], char)
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local rootj = char.HumanoidRootPart.RootJoint
- local throwbutton = false
- local throw = false
- local normalanim = true
- local attackd = false
- local animpose = "Idle"
- local timepos = 0
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local rootjnor = rootj.C0
- ---------------------------------
- --------------Set up-------------
- ---------------------------------
- local char = owner.Character
- local remotec = false
- local control = false
- function onTouched(fire)
- if remotec == true then
- local hum = fire.Parent:FindFirstChild("Humanoid")
- if hum then
- control = true
- local hed = hum.Parent.Head
- hum.PlatformStand = true
- local w = Instance.new("Weld")
- w.Part0 = char.Head
- w.Part1 = hed
- w.Name = "break"
- w.Parent = char
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.Name == "Torso" or v.Name == "UpperTorso" then
- local w2 = Instance.new("Weld")
- w2.Part0 = char.Torso
- w2.Part1 = v
- w2.Name = "break"
- w2.Parent = char
- end
- end
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.Name == "Right Arm" then
- local w3 = Instance.new("Weld")
- w3.Part0 = char["Right Arm"]
- w3.Part1 = v
- w3.Name = "break"
- w3.Parent = char
- end
- end
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.Name == "Left Arm" then
- local w4 = Instance.new("Weld")
- w4.Part0 = char["Left Arm"]
- w4.Part1 = v
- w4.Name = "break"
- w4.Parent = char
- end
- end
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.Name == "Right Leg" then
- local w5 = Instance.new("Weld")
- w5.Part0 = char["Right Leg"]
- w5.Part1 = v
- w5.Name = "break"
- w5.Parent = char
- end
- end
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.Name == "Left Leg" then
- local w6 = Instance.new("Weld")
- w6.Part0 = char["Left Leg"]
- w6.Part1 = v
- w6.Name = "break"
- w6.Parent = char
- end
- end
- hum.PlatformStand = true
- hum.PlatformStand = true
- hum.PlatformStand = true
- hum.PlatformStand = true
- hum.PlatformStand = true
- hum.PlatformStand = true
- char.Head.face.Transparency = 1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v.Handle.Transparency = 1
- end
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- end
- end
- end
- o3.Touched:connect(onTouched)
- ---------------------------------
- -------------Attacks-------------
- ---------------------------------
- remote.OnServerEvent:Connect(function(Player, number, key)
- if number == 1 and plr.Name == Player.Name and attackd == false then
- if key == Enum.KeyCode.Z then
- if remotec == false and control == false then
- remotec = true
- wait(0.2)
- remotec = false
- end
- end
- if key == Enum.KeyCode.X then
- if control == true then
- control = false
- char.Head.face.Transparency = 0
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v.Handle.Transparency = 0
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = 0
- end
- end
- if v.Name == "break" then
- if v.ClassName == "Weld" then
- if v.Part1 ~= nil then
- local hum = v.Part1.Parent:FindFirstChildOfClass("Humanoid")
- if hum then
- hum.PlatformStand = false
- v:Destroy()
- end
- end
- end
- end
- end
- end
- end
- if key == Enum.KeyCode.C then
- end
- elseif Player.Name == plr.Name and number == 2 and throw == true and throwbutton == true then
- throwbutton = false
- throw = false
- end
- end)
- ---------------------------------
- -----------Wrapping up-----------
- ---------------------------------
- while game:GetService("RunService").Heartbeat:Wait() do
- if normalanim then
- sine = sine + 1
- end
- if remote.Parent == char then
- remote.Name = "ReplicationEvent"
- else
- remote = Instance.new("RemoteEvent", char)
- end
- local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
- if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
- animpose = "Walking"
- elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
- animpose = "Jumping"
- elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
- animpose = "Falling"
- else
- animpose = "Idle"
- end
- if animpose == "Idle" and normalanim then
- elseif animpose == "Walking" and normalanim then
- elseif animpose == "Jumping" and normalanim then
- elseif animpose == "Falling" and normalanim then
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement