View difference between Paste ID: QKdKpu1i and vgz5yrhx
SHOW: | | - or go back to the newest paste.
1
2
--https://github.com/Mokiros/roblox-FE-compatibility
3
if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
4
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
5
local RealPlayer = Player
6
do print("Execute the c00l Kidd stuff")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
7
function giant(p, size)	
8
	local pchar = p.Character
9
	if pchar then
10
		local function scale(chr,scl)
11
		
12
			for _,v in pairs(pchar:GetChildren()) do
13
				if v:IsA("Hat") then
14
					v:Clone()
15
					v.Parent = game.Lighting
16
				end
17
			end
18
				
19
		    local Head = chr['Head']
20
		    local Torso = chr['Torso']
21
		    local LA = chr['Left Arm']
22
		    local RA = chr['Right Arm']
23
		    local LL = chr['Left Leg']
24
		    local RL = chr['Right Leg']
25
		    local HRP = chr['HumanoidRootPart']
26
		
27
		    wait(0.1)
28
		   
29
		    Head.formFactor = 3
30
		    Torso.formFactor = 3
31
		    LA.formFactor = 3
32
		    RA.formFactor = 3
33
		    LL.formFactor = 3
34
		    RL.formFactor = 3
35
		    HRP.formFactor = 3
36
		    
37
		    Head.Size = Vector3.new(scl * 2, scl, scl)
38
		    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
39
		    LA.Size = Vector3.new(scl, scl * 2, scl)
40
		    RA.Size = Vector3.new(scl, scl * 2, scl)
41
		    LL.Size = Vector3.new(scl, scl * 2, scl)
42
		    RL.Size = Vector3.new(scl, scl * 2, scl)
43
		    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
44
		    
45
		    local Motor1 = Instance.new('Motor6D', Torso)
46
		    Motor1.Part0 = Torso
47
		    Motor1.Part1 = Head
48
	    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
49
	    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
50
	    	Motor1.Name = "Neck"
51
				    
52
	    	local Motor2 = Instance.new('Motor6D', Torso)
53
	    	Motor2.Part0 = Torso
54
	    	Motor2.Part1 = LA
55
	    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
56
	    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
57
	    	Motor2.Name = "Left Shoulder"
58
	    	
59
	    	local Motor3 = Instance.new('Motor6D', Torso)
60
	   		Motor3.Part0 = Torso
61
	    	Motor3.Part1 = RA
62
	    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
63
	    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
64
	    	Motor3.Name = "Right Shoulder"
65
	    	
66
	    	local Motor4 = Instance.new('Motor6D', Torso)
67
	    	Motor4.Part0 = Torso
68
	    	Motor4.Part1 = LL
69
	    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
70
	    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
71
	    	Motor4.Name = "Left Hip"
72
	    	
73
	    	local Motor5 = Instance.new('Motor6D', Torso)
74
	    	Motor5.Part0 = Torso
75
	    	Motor5.Part1 = RL
76
	    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
77
	    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
78
	    	Motor5.Name = "Right Hip"
79
	    	
80
	    	local Motor6 = Instance.new('Motor6D', HRP)
81
	    	Motor6.Part0 = HRP
82
	    	Motor6.Part1 = Torso
83
	    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
84
	    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
85
	    	    
86
		end
87
		
88
		scale(pchar, size)
89
		pchar.Humanoid.WalkSpeed = 15 * size
90
	
91
		for _,v in pairs(game.Lighting:GetChildren()) do
92
			if v:IsA("Hat") then
93
				v.Parent = pchar
94
			end
95
		end
96
	end
97
end
98
99
local plr = game.Players.LocalPlayer
100
giant(plr,1)
101
102
103
local csize = 1
104
105
local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
106
local base = Instance.new("Frame", sgui)
107
base.BackgroundTransparency = 1
108
base.Size = UDim2.new(0, 110, 0, 200)
109
base.Position = UDim2.new(1, -120, 1, -180)
110
local indicator = Instance.new("TextLabel", base)
111
indicator.Size = UDim2.new(1, 0, 0, 25)
112
indicator.TextColor3 = Color3.new(1, 1, 1)
113
indicator.BackgroundTransparency = 0
114
indicator.FontSize = Enum.FontSize.Size18
115
indicator.Font = Enum.Font.SourceSans
116
indicator.Text = "Current Size: 3"
117
local PlusOne = Instance.new("TextButton", base)
118
PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
119
PlusOne.Position = UDim2.new(0, 0, 0, 40)
120
PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
121
PlusOne.BorderSizePixel = 2
122
PlusOne.Font = Enum.Font.SourceSansBold
123
PlusOne.FontSize = Enum.FontSize.Size24
124
PlusOne.Text = "+.1 Size"
125
local MinusOne = Instance.new("TextButton", base)
126
MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
127
MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
128
MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
129
MinusOne.Text = "-.1 Size"
130
MinusOne.BorderSizePixel = 2
131
MinusOne.Font = Enum.Font.SourceSansBold
132
MinusOne.FontSize = Enum.FontSize.Size24
133
134
PlusOne.MouseButton1Down:connect(function()
135
	csize = csize + .1
136
	giant(plr, csize)
137
	indicator.Text = "Current Size: "..tostring(csize)
138
end)
139
140
MinusOne.MouseButton1Down:connect(function()
141
	csize = csize - .1
142
	giant(plr, csize)
143
	indicator.Text = "Current Size: "..tostring(csize)
144
end)