Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rp = game:GetService("ReplicatedStorage")
- local Player = game.Players.LocalPlayer
- local Shift = rp:WaitForChild("Shift")
- local TweenService = game:GetService("TweenService")
- function Transformation(Character,Folder)
- local Lightning = script.Lightning:Clone()
- Lightning.CFrame = Character:WaitForChild("HumanoidRootPart").CFrame
- Lightning.Orientation = Lightning.Orientation + Vector3.new(-90, 90.46, 0)
- Lightning.Anchored = true
- Lightning.Parent = Folder
- local Lgoal = {}
- Lgoal.Size = Lightning.Size + Vector3.new(40,10,10)
- Lgoal.CFrame = Lightning.CFrame * CFrame.new(-17,42,-4)
- local Linfo = TweenInfo.new(1)
- local Ltween = TweenService:Create(Lightning,Linfo,Lgoal)
- Ltween:Play()
- local TitanExplo = script.TitanExplo:Clone()
- TitanExplo.CFrame = Character:WaitForChild("HumanoidRootPart").CFrame
- TitanExplo.Parent = Folder
- local Tgoal = {}
- Tgoal.Size = TitanExplo.Size + Vector3.new(40,10,10)
- Tgoal.CFrame = TitanExplo.CFrame * CFrame.new(-17,0,0)
- local Tinfo = TweenInfo.new(
- 2.5,
- Enum.EasingStyle.Bounce,
- Enum.EasingDirection.In,
- 0,
- false,
- 0
- )
- local properties = {
- Size = Vector3.new(28,31,28),
- Transparency = 1
- }
- local Ttween = TweenService:Create(TitanExplo,Tinfo,Tgoal)
- Ttween:Play()
- wait(1)
- for i = 1,3,1 do
- local Wave = script.Wave:Clone()
- Wave.CFrame = Character:WaitForChild("HumanoidRootPart").CFrame * CFrame.new(0,-2.5,0)
- Wave.Parent = Folder
- local Wgoal = {}
- Wgoal.Size = Wave.Size + Vector3.new(50,5,50)
- Wgoal.Transparency = Wave.Transparency + 1
- Wgoal.CFrame = Wave.CFrame * CFrame.new(0,3,0)
- local Winfo = TweenInfo.new(1)
- local Wtween = TweenService:Create(Wave,Winfo,Wgoal)
- Wtween:Play()
- wait(.5)
- end
- Shift.OnServerEvent:Connect(function(Player)
- local character = Player.Character
- local Folder = Instance.new("Folder", workspace)
- Folder.Name = "Shift Meshes"
- Transformation(character,Folder)
- end)
- removeMeshes(Folder)
- end
- print("Half Way Done")
- function removeMeshes(Folder)
- for i, v in pairs(Folder:GetChildren()) do
- local Goal ={}
- Goal.Transparency = v.Transparency + 1
- local Info = TweenInfo.new(1)
- local Tween = TweenService:Create(v,Info,Goal)
- Tween:Play()
- end
- wait(1)
- Folder:Destroy()
- end
- function Transformation(Character,Folder)
- local Humanoid = Character:WaitForChild("Humanoid")
- local plr = game.Players:FindFirstChild(Character.Name)
- local BodyColors = Instance.new("BodyColors",plr.Character)
- BodyColors.HeadColor = BrickColor.new("Dark orange")
- BodyColors.HeadColor3 = Color3.fromRGB(160, 95, 53)
- BodyColors.LeftArmColor = BrickColor.new("Dark orange")
- BodyColors.LeftArmColor3 = Color3.fromRGB(160, 95, 53)
- BodyColors.LeftLegColor = BrickColor.new("Dark orange")
- BodyColors.LeftLegColor3 = Color3.fromRGB(160, 95, 53)
- BodyColors.RightArmColor = BrickColor.new("Dark orange")
- BodyColors.RightArmColor3 = Color3.fromRGB(160, 95, 53)
- BodyColors.RightLegColor = BrickColor.new("Dark orange")
- BodyColors.RightLegColor3 = Color3.fromRGB(160, 95, 53)
- BodyColors.TorsoColor = BrickColor.new("Dark orange")
- BodyColors.TorsoColor3 = Color3.fromRGB(160, 95, 53)
- wait(3)
- plr.Character.Head.face.Texture = "rbxassetid://2835138588"
- for i,v in pairs(Humanoid:GetChildren()) do
- if v.ClassName == "NumberValue" then
- local Goal = {}
- Goal.Value = v.Value * 3
- local Info = TweenInfo.new(1)
- local Tween = TweenService:Create(v,Info,Goal)
- Tween:Play()
- end
- end
- end
- Shift.OnServerEvent:Connect(function(Player)
- local character = Player.Character
- local Folder = Instance.new("Folder", workspace)
- Folder.Name = "Shift Meshes"
- Transformation(character,Folder)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement