View difference between Paste ID: k9sGjPGb and vgz5yrhx
SHOW: | | - or go back to the newest paste.
1
function giant(p, size)	
2
	local pchar = p.Character
3
	if pchar then
4
		local function scale(chr,scl)
5
		
6
			for _,v in pairs(pchar:GetChildren()) do
7
				if v:IsA("Hat") then
8
					v:Clone()
9
					v.Parent = game.Lighting
10
				end
11
			end
12
				
13
		    local Head = chr['Head']
14
		    local Torso = chr['Torso']
15
		    local LA = chr['Left Arm']
16
		    local RA = chr['Right Arm']
17
		    local LL = chr['Left Leg']
18
		    local RL = chr['Right Leg']
19
		    local HRP = chr['HumanoidRootPart']
20
		
21
		    wait(0.1)
22
		   
23-
		    Head.formFactor = 3
23+
		    Head.formFactor = 10000
24-
		    Torso.formFactor = 3
24+
		    Torso.formFactor = 10000
25-
		    LA.formFactor = 3
25+
		    LA.formFactor = 10000
26-
		    RA.formFactor = 3
26+
		    RA.formFactor = 10000
27-
		    LL.formFactor = 3
27+
		    LL.formFactor = 10000
28-
		    RL.formFactor = 3
28+
		    RL.formFactor = 10000
29-
		    HRP.formFactor = 3
29+
		    HRP.formFactor = 10000
30
		    
31
		    Head.Size = Vector3.new(scl * 2, scl, scl)
32
		    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
33
		    LA.Size = Vector3.new(scl, scl * 2, scl)
34
		    RA.Size = Vector3.new(scl, scl * 2, scl)
35
		    LL.Size = Vector3.new(scl, scl * 2, scl)
36
		    RL.Size = Vector3.new(scl, scl * 2, scl)
37
		    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
38
		    
39
		    local Motor1 = Instance.new('Motor6D', Torso)
40
		    Motor1.Part0 = Torso
41
		    Motor1.Part1 = Head
42
	    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
43
	    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
44
	    	Motor1.Name = "Neck"
45
				    
46
	    	local Motor2 = Instance.new('Motor6D', Torso)
47
	    	Motor2.Part0 = Torso
48
	    	Motor2.Part1 = LA
49
	    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
50
	    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
51
	    	Motor2.Name = "Left Shoulder"
52
	    	
53
	    	local Motor3 = Instance.new('Motor6D', Torso)
54
	   		Motor3.Part0 = Torso
55
	    	Motor3.Part1 = RA
56
	    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
57
	    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
58
	    	Motor3.Name = "Right Shoulder"
59
	    	
60
	    	local Motor4 = Instance.new('Motor6D', Torso)
61
	    	Motor4.Part0 = Torso
62
	    	Motor4.Part1 = LL
63
	    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
64
	    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
65
	    	Motor4.Name = "Left Hip"
66
	    	
67
	    	local Motor5 = Instance.new('Motor6D', Torso)
68
	    	Motor5.Part0 = Torso
69
	    	Motor5.Part1 = RL
70
	    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
71
	    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
72
	    	Motor5.Name = "Right Hip"
73
	    	
74
	    	local Motor6 = Instance.new('Motor6D', HRP)
75
	    	Motor6.Part0 = HRP
76
	    	Motor6.Part1 = Torso
77
	    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
78
	    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
79
	    	    
80
		end
81
		
82
		scale(pchar, size)
83
		pchar.Humanoid.WalkSpeed = 15 * size
84
	
85
		for _,v in pairs(game.Lighting:GetChildren()) do
86
			if v:IsA("Hat") then
87
				v.Parent = pchar
88
			end
89
		end
90
	end
91
end
92
93
local plr = game.Players.LocalPlayer
94
giant(plr,1)
95
96
97
local csize = 1
98
99
local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
100
local base = Instance.new("Frame", sgui)
101
base.BackgroundTransparency = 1
102
base.Size = UDim2.new(0, 110, 0, 200)
103
base.Position = UDim2.new(1, -120, 1, -180)
104
local indicator = Instance.new("TextLabel", base)
105
indicator.Size = UDim2.new(1, 0, 0, 25)
106
indicator.TextColor3 = Color3.new(1, 1, 1)
107
indicator.BackgroundTransparency = 0
108
indicator.FontSize = Enum.FontSize.Size18
109
indicator.Font = Enum.Font.SourceSans
110
indicator.Text = "Current Size: 3"
111
local PlusOne = Instance.new("TextButton", base)
112
PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
113
PlusOne.Position = UDim2.new(0, 0, 0, 40)
114
PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
115
PlusOne.BorderSizePixel = 2
116
PlusOne.Font = Enum.Font.SourceSansBold
117
PlusOne.FontSize = Enum.FontSize.Size24
118
PlusOne.Text = "+.1 Size"
119
local MinusOne = Instance.new("TextButton", base)
120
MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
121
MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
122
MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
123
MinusOne.Text = "-.1 Size"
124
MinusOne.BorderSizePixel = 2
125
MinusOne.Font = Enum.Font.SourceSansBold
126
MinusOne.FontSize = Enum.FontSize.Size24
127
128
PlusOne.MouseButton1Down:connect(function()
129
	csize = csize + .1
130
	giant(plr, csize)
131
	indicator.Text = "Current Size: "..tostring(csize)
132
end)
133
134
MinusOne.MouseButton1Down:connect(function()
135
	csize = csize - .1
136
	giant(plr, csize)
137
	indicator.Text = "Current Size: "..tostring(csize)
138
end)